consensusNet | R Documentation |
To increase robustness against errors in data, the consensusNet function uses a bootstrapping procedure to construct a coexpression network.
consensusNet(data, organism="hsapiens",bootstrapNum=100, naPer=0.5, meanPer=0.8,varPer=0.8,method="rank_unsig",value=3/1000,pth=1e-6, nMatNet=2, nThreads=4)
data |
|
organism |
The organism of the input data. Currently, the package supports the following nine organisms: hsapiens, mmusculus, rnorvegicus, drerio, celegans, scerevisiae, cfamiliaris, dmelanogaster and athaliana. The default is "hsapiens". |
bootstrapNum |
Number of bootstrap data sets generated. Default is 100. |
naPer |
To remove ids with missing values in most of samples, the function calculates the percentage of missing values in all samples for each id and removes ids with over |
meanPer |
To remove ids with low values, the function calculates the mean of values for each id in all samples and remains top |
varPer |
Based on the remaining ids filtered by |
method |
Method used for constructing correlation network with |
value |
The corresponding value set for |
pth |
p-value threshold for including an edge. Default is 1.0e-6. |
nMatNet |
The number of concurrent running MatNet processes, default is 2. |
nThreads |
consensusNet function supports parallel computing based on multiple cores. The default is 4. |
Jing Wang
inputMatDir <- system.file("extdata","exampleExpressionData.cct",package="NetSAM")
data <- read.table(inputMatDir, header=TRUE, row.names=1, stringsAsFactors=FALSE)
net <- consensusNet(data, organism="hsapiens",bootstrapNum=10, naPer=0.5, meanPer=0.8,varPer=0.8,method="rank_unsig",value=3/1000,pth=1e-6, nMatNet=2, nThreads=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.