Description Usage Arguments Value Author(s) Examples
Retrieve a Phenotypes
object with stability values from a
gespeR
object.
1 2 3 4 |
object |
A |
A Phenotypes
object of SSPs
Fabian Schmich
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | phenos <- Phenotypes(system.file("extdata", "Phenotypes_screen_A.txt", package = "gespeR"),
type = "SSP",
col.id = 1,
col.score = 2)
trels <- TargetRelations(readRDS(system.file("extdata", "TR_screen_A.rds", package = "gespeR")))
res <- gespeR(phenotypes = phenos,
target.relations = trels,
mode = "stability",
nbootstrap = 100,
fraction = 0.67,
threshold = 0.75,
EV = 1,
weakness = 0.8,
ncores = 1)
stab <- stability(res)
ans <- merge(as.data.frame(gsp(res)), as.data.frame(stability(res)), by = "ID")
colnames(ans)[2:3] <- c("Phenotype", "Stability")
ans[order(ans$Stability, decreasing = TRUE),]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.