Description Usage Arguments Value Examples
View source: R/griffinToBoolnet.R
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.
1 | dataframeToAttractor(df, node.names, fixed.genes)
|
df |
dataframe, see |
node.names |
nodes of network |
fixed.genes |
fixedGenes of network |
attr BoolNet attractor object
1 2 3 4 | > data("cellcycle")
> attr <- getAttractors(cellcycle)
> attr.df <- attractorToDataframe(attr)
> print(dataframe2attractor(attr.df, cellcycle$genes))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.