generateCellPopulation: generateCellPopulation

Description Usage Arguments Value Examples

Description

the generateCellPopulation function

Usage

1
generateCellPopulation(numCells, numProtsPerCell, plot = TRUE)

Arguments

numCells

is a vector of length N_cellpop containing the number of cells each should contain

numProtsPerCell

is a N_cellpop x N_prot matrix containing the number of each type of protein appearing in each cellpop (rows are cell populations and columns are proteins).

plot

logical if you should plot the cell information

Value

igraph output of this function is the igraph network object for protein network, without any edges

Examples

1
2
3
4
numCells = c(25,25,25)
numProtsPerCell = rbind(c(5,5,5),c(5,5,5), c(5,5,5))
proteinGraph = generateCellPopulation(numCells,numProtsPerCell)
plot(proteinGraph)

shazanfar/cellAggregator documentation built on May 14, 2019, 7:35 a.m.