View source: R/compareAnalysis.R
nodeAttrs | R Documentation |
This function builds a data.frame describing for each node of the graph its ID and which analysis/data it comes from.
nodeAttrs(nbAn, nbComp, labAn, labComp, file)
nbAn |
Number of analyses being considered, i.e number of IcaSet objects |
nbComp |
Number of components by analysis, if of length 1 then it is assumed that each analysis has the same number of components. |
labAn |
Labels of the analysis, if missing it will be generated as an1, an2, ... |
labComp |
List containing the component labels indexed by analysis, if missing will be generated as comp1, comp2, ... |
file |
File where the description of the node attributes will be written |
The created file is used in Cytoscape.
A data.frame describing each node/component
Anne Biton
## 4 datasets, 20 components calculated in each dataset, labAn
nodeAttrs(nbAn=4, nbComp=20, labAn=c("tutu","titi","toto","tata"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.