corBiostripe | R Documentation |
Inter-Domain Ecological Network, we call this biostripe network
corBiostripe(
data = NULL,
group = NULL,
ps = NULL,
r.threshold = 0.6,
p.threshold = 0.05,
method = "spearman"
)
ps |
phyloseq Object, contains OTU tables, tax table and map table, represented sequences,phylogenetic tree. |
r.threshold |
The defult, r.threshold=0.6, it represents the correlation that the absolute value of the correlation threshold is greater than 0.6. the value range of correlation threshold from 0 to 1. |
p.threshold |
The defult, p.threshold=0.05, it represents significance threshold below 0.05. |
method |
method for Correlation calculation,method="pearson" is the default value. The alternatives to be passed to cor are "spearman" and "kendall". |
N |
filter OTU tables by abundance.The defult, N=0.02, extract the top 0.02 relative abundance of OTU. |
list which contains OTU correlation matrix
Contact: Tao Wen taowen@njau.edu.cn Penghao Xie 2019103106@njau.edu.cn yongxin liu yxliu@genetics.ac.cn Jun Yuan junyuan@njau.edu.cn
Tao Wen#, Penghao Xie#, Shengdie Yang, Guoqing Niu, Xiaoyu Liu, Zhexu Ding, Chao Xue, Yong-Xin Liu *, Qirong Shen, Jun Yuan* ggClusterNet: an R package for microbiome network analysis and modularity-based multiple network layouts iMeta 2022,DOI: doi: 10.1002/imt2.32
data(ps)
result <- corMicro(ps = ps,N = 0.02,r.threshold=0.6,p.threshold=0.05,method = "pearson")
# extract cor matrix
cor = result[[1]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.