Diff of /man/module_expression.Rd [000000] .. [13df9a]

Switch to unified view

a b/man/module_expression.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/6.modules.R
3
\name{module_eigen}
4
\alias{module_eigen}
5
\alias{module_expression}
6
\title{Calculate the eigenvalue of each module and correlation of nodes and eigenvalue (node_eigen_cor).}
7
\usage{
8
module_eigen(go_m, totu, cor_method = "spearman")
9
10
module_expression(
11
  go_m,
12
  totu,
13
  group = NULL,
14
  r_threshold = 0.6,
15
  x_order = NULL,
16
  facet_param = NULL,
17
  plot_eigen = FALSE
18
)
19
}
20
\arguments{
21
\item{go_m}{module metanet}
22
23
\item{totu}{original abundance table used for module_eigen().}
24
25
\item{cor_method}{"pearson", "kendall", "spearman"}
26
27
\item{group}{group variable for totu}
28
29
\item{r_threshold}{the threshold for node_eigen_cor, default: 0.6.}
30
31
\item{x_order}{order the x axis.}
32
33
\item{facet_param}{parameters parse to \code{\link[ggplot2]{facet_wrap}}, e.g. nrow=2.}
34
35
\item{plot_eigen}{plot the eigen value line.}
36
}
37
\value{
38
module metanet with module_eigen
39
}
40
\description{
41
Calculate the eigenvalue of each module and correlation of nodes and eigenvalue (node_eigen_cor).
42
43
Plot the expression of each modules
44
}
45
\examples{
46
data("otutab", package = "pcutils")
47
t(otutab) -> totu
48
data("c_net")
49
module_detect(co_net, n_node_in_module = 30) -> co_net_modu
50
module_eigen(co_net_modu, totu) -> co_net_modu
51
module_expression(co_net_modu, totu)
52
}
53
\seealso{
54
Other module: 
55
\code{\link{filter_n_module}()},
56
\code{\link{get_community}()},
57
\code{\link{get_module_eigen}()},
58
\code{\link{get_module}()},
59
\code{\link{module_detect}()},
60
\code{\link{module_net}()},
61
\code{\link{summary_module}()},
62
\code{\link{to_module_net}()},
63
\code{\link{zp_analyse}()}
64
}
65
\concept{module}