cellAggregationBarplot: cellAggregationBarplot

Description Usage Arguments Value Examples

Description

the cellAggregationBarplot function

Usage

1
cellAggregationBarplot(cellAggregationResult)

Arguments

cellAggregationResult

result object obtained from running cellAggregator()

Value

ggplot ggplot object of barplot of number of edges of each type per timestep

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
numCells = c(25,25)
numProtsPerCell = rbind(c(5,0,0),c(5,5,5))
bindingAffinity = cbind(c(1,0,0), c(0,1,0), c(0,0,1))

cellAggregationResult = cellAggregator(
 numCells,
 numProtsPerCell,
 bindingAffinity,
 timesteps = 100,
 burnIn = 0.75,
 verbose = TRUE,
 includeListOfGraphs = TRUE,
 plot = TRUE
)

cellAggregationResult$t_index
unlist(cellAggregationResult$listoftIndex)
cellAggregationBarplot(cellAggregationResult)

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