[7a0be0]: / man / c_net_build.Rd

Download this file

50 lines (44 with data), 1.1 kB

 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/2-1.build.R
\name{c_net_build}
\alias{c_net_build}
\title{Construct a metanet from a corr object}
\usage{
c_net_build(
corr,
r_threshold = 0.6,
p_threshold = 0.05,
use_p_adj = TRUE,
delete_single = TRUE
)
}
\arguments{
\item{corr}{corr object from \code{c_net_calculate()} or \code{read_corr()}.}
\item{r_threshold}{r_threshold (default: >0.6).}
\item{p_threshold}{p_threshold (default: <0.05).}
\item{use_p_adj}{use the p.adjust instead of p.value (default: TRUE), if p.adjust not in the corr object, use p.value.}
\item{delete_single}{should delete single vertexes?}
}
\value{
an metanet object
}
\description{
Construct a metanet from a corr object
}
\examples{
data("otutab", package = "pcutils")
t(otutab) -> totu
metadata[, 3:10] -> env
c_net_calculate(totu) -> corr
c_net_build(corr, r_threshold = 0.65) -> co_net
c_net_calculate(totu, env) -> corr2
c_net_build(corr2) -> co_net2
}
\seealso{
Other build:
\code{\link{c_net_from_edgelist}()},
\code{\link{c_net_set}()},
\code{\link{c_net_update}()},
\code{\link{multi_net_build}()}
}
\concept{build}