ModuleSurv: Explore relationship between Modules and survival in...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/BI_ModuleSurv.R

Description

ModuleSurv explores relationship between Modules and survival in FastWGCNA pipeline.

Usage

1
2
ModuleSurv(object, design, time, status, digits = 3,
  save.path = "WGCNA", names = "love")

Arguments

object

the result of FastWGCNA.

design

a trait-design object

time

the time colname in design object

status

the status colname in design object

digits

integer indicating the number of decimal places (round) or significant digits (signif) to be used. Negative values are allowed (see ‘Details’).

save.path

the space of the save file.Default is "WGCNA"

names

part of saved files name

Details

I.Multiple time and status is supported. II.If object is a ME matrix,then you must make the row of ME matrix as the same as design.Pay more attention to ModuleSurvValid

Value

LuckyWGCNA object

Author(s)

Weibin Huang<654751191@qq.com>

See Also

FastWGCNA.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## This is a simulative process and available only with CORRECT VARIABLES
library(lucky)
object = wgcna;rm(wgcna);gc()
design = rna.design.tumor
time = c("OS.time","DFS.time")
status = c("OS.status","DFS.status")
result_MS <- ModuleSurv(object,
                        design,
                        time,status,
                        digits = 3,
                        height = 10,width = 8,
                        save.path = "WGCNA-test",
                        names = "love")

shijianasdf/BasicBioinformaticsAnalysisFromZhongShan documentation built on Jan. 3, 2020, 10:08 p.m.