Description Usage Arguments Details Value Author(s) References See Also Examples
help fast to draw a corrplot with multiple styles available to select
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
data |
gene expression matrix or data frame with patient cols and gene rows. |
transposition |
Whether use t(data) before corrplot making.If your matrix is one with gene rows,you should let transposition=T. |
order |
Whether use AOE order strategy.Default is T. |
select |
genes your want to explore the correlations.Note that the select genes must be part of rownames of expr. |
... |
parameters from corrplot.mixed.Default = NULL.Also you can defined it alternatively. |
savefile |
whether saving plot as PDF file. |
names |
part of PDF file names. |
Fastcorrplot() help fast to draw a corrplot with multiple styles available to select.Fastcorrplot() is based on corrplot::corrplot.mixed().
a cor matrix and a corrplot
Weibin Huang
corrplot.mixed()
corrplot.mixed()
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 | data(expr)
set.seed(2018);select=rownames(expr)[sample(1:nrow(expr),10)]
data <- expr[,1:(ncol(expr)-4)]
cor.matrix <- Fastcorrplot(data,
transposition = T,
select,
savefile=F,
names="test1")
# self-defined upper parameter
upper <- c("ellipse","circle","square","shade","pie")
cor.matrix <- Fastcorrplot(data,
transposition = T,
upper = upper[1],
select,
savefile=F,
names="test1")
# self-defined transposition parameter
upper <- c("ellipse","circle","square","shade","pie")
cor.matrix <- Fastcorrplot(data=state.x77,
transposition = F,
upper = upper[5],
select = colnames(state.x77),
savefile=F,
names="test1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.