Description Usage Arguments Value Author(s) See Also Examples
View source: R/BI_ModuleSurvValid.R
Get module-Survival relationship given new validation cohorts
1 2 3 | ModuleSurvValid(object, valid.matrix, log.convert = T, valid.design,
valid.time, valid.status, digits = 3, save.path = "WGCNA",
names = "love")
|
object |
the result of |
valid.matrix |
a list of expression matrix with genes rows and sample cols. |
log.convert |
whether to do log scale for expression matrix |
valid.design |
a named list of design object |
valid.time |
a named list of time colnames |
valid.status |
a named list of status colnames |
digits |
integer indicating the number of decimal places
( |
save.path |
the space of the save file.Default is "WGCNA" |
names |
part of saved files name |
LuckyWGCNA object
Weibin Huang<654751191@qq.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ## This is a simulative process and available only with CORRECT VARIABLES
load("E:/RCloud/RFactory/lucky/love/WGCNA-test/love_wgcna.rda");object = wgcna;rm(wgcna);gc()
log.convert=T
valid.matrix = list(Valid1 = rna.fpkm.tumor,
Valid2 = rna.fpkm.tumor)
valid.design = list(Valid1 = rna.design.tumor,
Valid2 = rna.design.tumor)
time = c("OS.time","DFS.time")
status = c("OS.status","DFS.status")
valid.time = list(Valid1 = time,
Valid2 = time)
valid.status = list(Valid1 = status,
Valid2 = status)
save.path = "WGCNA"
names = "love"
digits = 3
result_MSV <- ModuleSurvValid(object,
valid.matrix,
log.convert=T,
valid.design,
valid.time,
valid.status,
digits = 3,
save.path = "WGCNA",
names = "love")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.