Description Usage Arguments Value Slots See Also Examples
This class includes a series of methods to do network analysis for high-throughput data.
1 | NWA(pvalues, phenotypes = as.numeric(), interactome = NA)
|
pvalues |
A numeric or integer vector of pvalues named by gene identifiers. |
phenotypes |
A numeric or integer vector of phenotypes named by gene identifiers. When it is available, nodes in identified subnetwork would be coloured by it (red:+, blue:- as default). Otherwise, all nodes in the subnetwork would have no difference. |
interactome |
An object of class igraph. |
This function will create a new object of class 'NWA'.
fdrOne parameter for BioNet to score nodes in the interactome.
resultA list consisting of subnetwork module identified by BioNet and a vector of labels for nodes of the subnetwork module.
summaryA list of summary information for pvalues, phenotypes, interactome and result.
preprocessedA logical value specifying whether or not input data has been preprocessed.
preprocess,
analyze,
summarize,
interactome,
report
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | library(org.Hs.eg.db)
library(GO.db)
## load data for network analyses
data(d7)
pvalues <- d7$neg.p.value
names(pvalues) <- d7$id
## define phenotypes if you want to color nodes by it, otherwise ignore it!
phenotypes <- as.vector(d7$neg.lfc)
names(phenotypes) <- d7$id
## Example1: create an object of class 'NWA' with phenotypes
nwa <- NWA(pvalues=pvalues, phenotypes=phenotypes)
## Example2: create an object of class 'NWA' without phenotypes
nwa <- NWA(pvalues=pvalues)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.