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

Description Usage Arguments Value Examples

View source: R/BNP_Dataframe.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, fixedGenes)

Arguments

fixedGenes

fixedGenes of network

Dataframe,

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

Value

attr BoolNet attractor object

Examples

1
2
3
4
> data("cellcycle")
> attr <- getAttractors(cellcycle)
> attr.df <- attractorToDataframe(attr)
> print(dataframeToAttractor(attr.df))

mar-esther23/boolnet-perturb documentation built on April 21, 2020, 9:11 a.m.