dataframeToAttractor: Convert a data frame with nodes displayed in Boolean format...

Description Usage Arguments Value Examples

View source: R/griffinToBoolnet.R

Description

Convert a data frame with nodes displayed in Boolean format to a BoolNet attractor. First column is the attractor number, second is the number of state inside the attractor, the rest of the columns correspond to each node.

Usage

1
dataframeToAttractor(df, node.names, fixed.genes)

Arguments

df

dataframe, seeattractor2dataframe each column corresponds to the number of attractor, state, or node

node.names

nodes of network

fixed.genes

fixedGenes of network

Value

attr BoolNet attractor object

Examples

1
2
3
4
> data("cellcycle")
> attr <- getAttractors(cellcycle)
> attr.df <- attractorToDataframe(attr)
> print(dataframe2attractor(attr.df, cellcycle$genes))

mar-esther23/rgriffin documentation built on Nov. 21, 2020, 7:42 p.m.