Description Usage Arguments Value Examples
a context-specific gene-gene network is constructed from the scRNA-seq data by WGCNA package.
1 | context.mode(data, qt.gene = 0.4, qt.cell = 0.5, nThreads = 1)
|
data |
A expression count matrix. The rows correspond to genes and the columns correspond to cells. |
qt.gene |
A numeric value between 0 and 1 (default: 0.4) indicating the
top percent of expressed genes to be reserved for buliding a context-specific
gene-gene network. Used only if |
qt.cell |
A numeric value between 0 and 1 (default: 0.5) indicating the
top percent of expressed cells to be reserved for buliding a context-specific
gene-gene network. Used only if |
nThreads |
The number of cores to use. Default is 1. |
A context-specific gene-gene network.
1 2 3 4 5 6 7 8 9 10 | #Loading example scRNA-seq data.
load(system.file("data","yan.Rdata",package = "scNPF"))
exp.data <- yan$data
dim(exp.data)
label <- yan$label
#Parallel
context.network <- context.mode(data=exp.data,nThreads=8)
dim(context.network)
class(context.network)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.