Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Annotation_Task/diary_tree
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
175 lines (139 sloc)
5.14 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%%%% To be clarified with annotation task %%%%%% | |
%%%%% What? %%%%% | |
%%%%% In TREE, basic cell groups category has only one value in id as opposed to several. Why? %%% | |
load TREE | |
[table idxLUT] = builtable(tree); | |
{Undefined function or variable 'builtable'. | |
} | |
[table idxLUT] = buildtable(tree); | |
%%%%% TREE is the whole brain structure. | |
%%%% Examining TREE %%%%% | |
tree | |
tree = | |
<a href="matlab:helpPopup struct" style="font-weight:bold">struct</a> with fields: | |
id: 997 | |
atlas_id: -1 | |
ontology_id: 1 | |
acronym: 'root' | |
name: 'root' | |
color_hex_triplet: 'FFFFFF' | |
graph_order: 0 | |
st_level: [] | |
hemisphere_id: 3 | |
parent_structure_id: [] | |
children: {[1×1 struct] [1×1 struct] [1×1 struct] [1×1 struct]} | |
[table idxLUT] = buildtable(tree); | |
tree.children{1,1} | |
ans = | |
<a href="matlab:helpPopup struct" style="font-weight:bold">struct</a> with fields: | |
id: 8 | |
atlas_id: 0 | |
ontology_id: 1 | |
acronym: 'grey' | |
name: 'Basic cell groups and regions' | |
color_hex_triplet: 'BFDAE3' | |
graph_order: 1 | |
st_level: [] | |
hemisphere_id: 3 | |
parent_structure_id: 997 | |
children: {[1×1 struct] [1×1 struct] [1×1 struct]} | |
tree.children{1,1}.children{1,1} | |
ans = | |
<a href="matlab:helpPopup struct" style="font-weight:bold">struct</a> with fields: | |
id: 567 | |
atlas_id: 70 | |
ontology_id: 1 | |
acronym: 'CH' | |
name: 'Cerebrum' | |
color_hex_triplet: 'B0F0FF' | |
graph_order: 2 | |
st_level: [] | |
hemisphere_id: 3 | |
parent_structure_id: 8 | |
children: {[1×1 struct] [1×1 struct]} | |
tree.children{1,1}.children{1,1}.children{1,1} | |
ans = | |
<a href="matlab:helpPopup struct" style="font-weight:bold">struct</a> with fields: | |
id: 688 | |
atlas_id: 85 | |
ontology_id: 1 | |
acronym: 'CTX' | |
name: 'Cerebral cortex' | |
color_hex_triplet: 'B0FFB8' | |
graph_order: 3 | |
st_level: [] | |
hemisphere_id: 3 | |
parent_structure_id: 567 | |
children: {[1×1 struct] [1×1 struct]} | |
tree.children{1,1}.children{1,1}.children{1,2} | |
ans = | |
<a href="matlab:helpPopup struct" style="font-weight:bold">struct</a> with fields: | |
id: 623 | |
atlas_id: 77 | |
ontology_id: 1 | |
acronym: 'CNU' | |
name: 'Cerebral nuclei' | |
color_hex_triplet: '98D6F9' | |
graph_order: 492 | |
st_level: [] | |
hemisphere_id: 3 | |
parent_structure_id: 567 | |
children: {[1×1 struct] [1×1 struct]} | |
tree.children{1,1}.children{1,1}.children{1,1}.children{1,1} | |
ans = | |
<a href="matlab:helpPopup struct" style="font-weight:bold">struct</a> with fields: | |
id: 695 | |
atlas_id: 86 | |
ontology_id: 1 | |
acronym: 'CTXpl' | |
name: 'Cortical plate' | |
color_hex_triplet: '70FF70' | |
graph_order: 4 | |
st_level: [] | |
hemisphere_id: 3 | |
parent_structure_id: 688 | |
children: {[1×1 struct] [1×1 struct] [1×1 struct]} | |
tree.children{1,1}.children{1,1}.children{1,1}.children{1,2} | |
ans = | |
<a href="matlab:helpPopup struct" style="font-weight:bold">struct</a> with fields: | |
id: 703 | |
atlas_id: 87 | |
ontology_id: 1 | |
acronym: 'CTXsp' | |
name: 'Cortical subplate' | |
color_hex_triplet: '8ADA87' | |
graph_order: 477 | |
st_level: [] | |
hemisphere_id: 3 | |
parent_structure_id: 688 | |
children: {[1×1 struct] [1×1 struct] [1×1 struct] [1×1 struct] [1×1 struct] [1×1 struct] [1×1 struct]} | |
tree.children{1,1}.children{1,1}.children{1,2}.children{1,2} | |
ans = | |
<a href="matlab:helpPopup struct" style="font-weight:bold">struct</a> with fields: | |
id: 803 | |
atlas_id: 241 | |
ontology_id: 1 | |
acronym: 'PAL' | |
name: 'Pallidum' | |
color_hex_triplet: '8599CC' | |
graph_order: 529 | |
st_level: [] | |
hemisphere_id: 3 | |
parent_structure_id: 623 | |
children: {[1×1 struct] [1×1 struct] [1×1 struct] [1×1 struct]} | |
tree.children{1,1}.children{1,1}.children{1,2}.children{1,1} | |
ans = | |
<a href="matlab:helpPopup struct" style="font-weight:bold">struct</a> with fields: | |
id: 477 | |
atlas_id: 342 | |
ontology_id: 1 | |
acronym: 'STR' | |
name: 'Striatum' | |
color_hex_triplet: '98D6F9' | |
graph_order: 493 | |
st_level: [] | |
hemisphere_id: 3 | |
parent_structure_id: 623 | |
children: {[1×1 struct] [1×1 struct] [1×1 struct] [1×1 struct]} | |
%%%% When we give Cerebrum as the region of interest, as output we get the ids of Cerebrum, the Cortexs and its children's ids, the Cerebral Nuclei and its children's ids %%%%%%% | |
diary off |