CorrelationHeatmapTwoDfMantelTest | R Documentation |
Perform correlation analysis between two data.frame
CorrelationHeatmapTwoDfMantelTest(
x.axis.df,
y.axis.df,
cor.method = "spearman",
spec.select.list = NULL,
rho.cutoff = 0.3,
p.color = c("#D95F02", "#CCCCCC99", "#1B9E77")
)
x.axis.df |
Row is sample, column variable will be point names. |
y.axis.df |
Row is sample, column variable will be names in new correlation heatmap. |
cor.method |
Defaut spearman |
spec.select.list |
list(group1 = c(1,2,3), grou2 = c(4,5)) numbers are col indexin x.axis.df |
rho.cutoff |
Default 0.3 |
p.color |
c("#D95F02", "#CCCCCC99", "#1B9E77") |
A ggplot2 object
library(vegan)
data(varespec)
data(varechem)
loonR::CorrelationHeatmapTwoDfMantelTest(varespec[,c(1,2)], varechem)
l = list(Community_Diversity= 1:5, Community_structure =6:14)
loonR::CorrelationHeatmapTwoDfMantelTest(varespec, varechem, spec.select.list = l)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.