R/6.modules.R
module_expression.Rd
Calculate the eigenvalue of each module and correlation of nodes and eigenvalue (node_eigen_cor).
Plot the expression of each modules
module_eigen(go_m, totu, cor_method = "spearman")
module_expression(
go_m,
totu,
group = NULL,
r_threshold = 0.6,
x_order = NULL,
facet_param = NULL,
plot_eigen = FALSE
)
module metanet
original abundance table used for module_eigen().
"pearson", "kendall", "spearman"
group variable for totu
the threshold for node_eigen_cor, default: 0.6.
order the x axis.
parameters parse to facet_wrap
, e.g. nrow=2.
plot the eigen value line.
module metanet with module_eigen
Other module:
filter_n_module()
,
get_community()
,
get_module_eigen()
,
get_module()
,
module_detect()
,
module_net()
,
summary_module()
,
to_module_net()
,
zp_analyse()
data("otutab", package = "pcutils")
t(otutab) -> totu
data("c_net")
module_detect(co_net, n_node_in_module = 30) -> co_net_modu
module_eigen(co_net_modu, totu) -> co_net_modu
module_expression(co_net_modu, totu)