Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/BI_ModuleTrait.R
After FastWGCNA
, you can input the result into ModuleTrait
function,and get a more powerful Module-Trait relationships visualization.
1 2 3 | ModuleTrait(object, design, variable, corType = c("pearson", "bicor")[1],
report = F, height = 10, width = 8, save.path = "WGCNA",
names = "love")
|
object |
the result of |
design |
a trait-design object |
variable |
the variables you want to show in Module-Trait relationships plot. |
corType |
one of "pearson" and "bicor".Default is pearson |
report |
whether do a plot report |
height, width |
the size of saved plot |
save.path |
the space of the save file.Default is "WGCNA" |
names |
part of saved files name |
trait-design object means the design should convert to a numeric one.A good method is to use GetWGCNATrait
.
a Module-Trait relationships plot
Weibin Huang<654751191@qq.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## This is a simulative process and NOT RUN
library(lucky)
object = wgcna;rm(wgcna);gc()
design = rna.design.tumor
variable = c("age","his1","gender","N.status","T.status")
save.path = "WGCNA"
names = "love"
corType = "pearson"
height = 10;width = 8
result_MT <- ModuleTrait(object,
design,
variable,
corType = "pearson",
report=T,
height = 10,width = 8,
save.path = "WGCNA",
names = "love")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.