Description Usage Arguments Value Examples
This function computes the performance indices of different rankings compared to the random ranking for gene removal and identify the best ranking
1 | bestRanking(fns)
|
fns |
List of fitness objects. |
The performance indices for all rankings and the best ranking.
1 2 3 4 5 6 7 8 9 10 11 12 | data(Ec_core)
mod <- rescue(Ec_core, target=0.1)
mod.weight <- changeObjFunc(mod$rescue, react=rownames(mod$coef), obj_coef=mod$coef)
ranks <- list(
rep.1=data.frame(
expr=setNames(rnorm(length(sybil::allGenes(mod.weight)), mean=5, sd=4),
sybil::allGenes(mod.weight))),
rep.2=data.frame(
expr=setNames(rnorm(length(sybil::allGenes(mod.weight)), mean=5, sd=4.1),
sybil::allGenes(mod.weight))))
fn <- fitness(model=mod.weight, ranks=ranks, step=200, draw.num=1)
bestRanking(list(fn))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.