Description Usage Arguments Value Examples
View source: R/initializePopulation.R
Given a PFData
object, generate a random population of PrixFixeNetwork
objects of size population_size
.
1 2 3 4 5 | initializePopulation(
pf_data,
population_size,
members = c("true_members", "null_members")
)
|
pf_data |
a |
population_size |
The number of networks to generate for the population. |
members |
a character string of either |
A list of size population_size
containing PrixFixeNetwork
objects.
1 2 3 4 5 6 7 | ## Not run:
#' # load example PFData (FA genes)
data(PF_FanconiAnemia)
# generate population of subnetworks
population <- initializePopulation(PF_FanconiAnemia, population_size=100, "true_members")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.