Basic Examples
Basic Examples
Retrieve the graph:
In[]:=
ResourceData["Cell Ontology Network"]
Out[]=
Summary properties:
In[]:=
ResourceData["Cell Ontology Network",All]["Summary"]
Out[]=
Name | Cell Ontology Network |
VertexCount | 1926 |
EdgeCount | 2544 |
Description | Network of ontology for cell types |
ByteCount |
Basic Applications
Basic Applications
Show communities in the cell ontology network:
In[]:=
g=ResourceData["Cell Ontology Network"];
In[]:=
communities=FindGraphCommunities[g];
In[]:=
HighlightGraph[g,communities]
Out[]=
Find the term names of a community:
In[]:=
AnnotationValue[{g,#},"TermName"]&/@Last[communities]
Out[]=
{epithelial cell of thymus,type-1 epithelial cell of thymus,type-6 epithelial cell of thymus,type-4 epithelial cell of thymus,type-3 epithelial cell of thymus,type-5 epithelial cell of thymus,type-2 epithelial cell of thymus,type-7 epithelial cell of thymus,cortical thymic epithelial cell,medullary thymic epithelial cell}