getBasins: Obtain the attractors and basins from a BoolNet network using...

Description Usage Arguments Value See Also Examples

View source: R/getBasins.R

Description

This function takes a valid BoolNet BooleanNetwork. and returns the attractors and, if requiered basin size and basin formula of the network using a binary decision tree based method. The process may be memory intensive for large networks. To avoid edge cases use fully parantherized formulas.

Usage

1
getBasins(net, return = c("DataFrame", "AttractorInfo"))

Arguments

net

BoolNet BooleanNetwork

return

"DataFrame" returns a dataframe with the attractor in Boolean format where cyclic states may use more than one row. The basinSize and basinFormula are added as columns "AttractorInfo" returns a BoolNet attractor object. The basinSize and basinFormula are added to attractor$attractor.

Value

If "DataFrame" it will return a dataframe wherethe first column corresponds to the number of the atrractor and the second to the state in the case of cyclic atractors the attractor will take multiple states. The rest of the columns correspond to the value if he nodes, tha basinSize and basiFormula. If "AtractorInfo" return a BoolNet attractor object where basinSize and basinFormula are in attactor$attractors

See Also

Compare and contrast with BoolNet:getAttractors SAT based options.

Examples

1
2
3
data("cellcycle")
attr = getBasins( cellcycle )
print( attr )

mar-esther23/rgriffin documentation built on May 29, 2021, 10:03 p.m.