nodeAttrs: Generate node attributes

Description Usage Arguments Details Value Author(s) Examples

View source: R/compareAnalysis.R

Description

This function builds a data.frame describing for each node of the graph its ID and which analysis/data it comes from.

Usage

1
  nodeAttrs(nbAn, nbComp, labAn, labComp, file)

Arguments

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

Details

The created file is used in Cytoscape.

Value

A data.frame describing each node/component

Author(s)

Anne Biton

Examples

1
2
## 4 datasets, 20 components calculated in each dataset, labAn
nodeAttrs(nbAn=4, nbComp=20, labAn=c("tutu","titi","toto","tata"))

Bioconductor-mirror/MineICA documentation built on May 29, 2017, 8:30 a.m.