[7a0be0]: / man / multi_net_build.Rd

Download this file

64 lines (55 with data), 1.5 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/2-1.build.R
\name{multi_net_build}
\alias{multi_net_build}
\title{Multi-omics network build}
\usage{
multi_net_build(
...,
mode = "full",
method = "spearman",
filename = FALSE,
p.adjust.method = NULL,
r_threshold = 0.6,
p_threshold = 0.05,
use_p_adj = TRUE,
delete_single = TRUE
)
}
\arguments{
\item{...}{some omics abundance tables}
\item{mode}{"full"}
\item{method}{"spearman" or "pearson"}
\item{filename}{the prefix of saved .corr file or FALSE}
\item{p.adjust.method}{see \code{\link[stats]{p.adjust}}}
\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)}
\item{delete_single}{should delete single vertexes?}
}
\value{
metanet
}
\description{
Multi-omics network build
}
\examples{
data("multi_test")
multi1 <- multi_net_build(list(Microbiome = micro, Metabolome = metab, Transcriptome = transc))
multi1 <- c_net_set(multi1, micro_g, metab_g, transc_g,
vertex_class = c("Phylum", "kingdom", "type")
)
multi1 <- c_net_set(multi1, data.frame("Abundance1" = colSums(micro)),
data.frame("Abundance2" = colSums(metab)), data.frame("Abundance3" = colSums(transc)),
vertex_size = paste0("Abundance", 1:3)
)
c_net_plot(multi1)
}
\seealso{
Other build:
\code{\link{c_net_build}()},
\code{\link{c_net_from_edgelist}()},
\code{\link{c_net_set}()},
\code{\link{c_net_update}()}
}
\concept{build}