ConnectomeView
NodeSet
Set of nodes (each of which can contain single cells or lists of cells) to use in a ConnectomeView.
An optional text description can be provided, and the color, shape, position or size of the NodeSets to use in graphical depictions can be set.
Source code in cect/ConnectomeView.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | |
__repr__()
Returns a string representation of the NodeSet, including its name, description, color, shape, position, and the list of cells it contains.
Source code in cect/ConnectomeView.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | |
is_one_cell()
Returns True if the NodeSet contains only one cell, and the name of the NodeSet is the same as that cell.
Source code in cect/ConnectomeView.py
83 84 85 86 87 | |
to_markdown()
Returns a HTML element for use in markdown or HTML for a representation of the NodeSet, including its name colored by the set color.
Source code in cect/ConnectomeView.py
107 108 109 110 111 112 113 114 115 | |
View
A view of a ConnectomeDataset specifying subsets of cells (or lists of cells) as NodeSets, e.g. can be used to just show the connections between the pharyngeal neurons in a whole connectome dataset, or to group the sensory neurons, interneuron, etc. together.
Source code in cect/ConnectomeView.py
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | |