sclink_norm {scLink} | R Documentation |
Pre-process data for scLink
Description
Pre-process data for scLink
Usage
sclink_norm(
count,
scale.factor = 1e+06,
filter.genes = FALSE,
gene.names = NULL,
n = 500
)
Arguments
count |
A full gene count matrix with rows representing cells and columns representing genes. Gene names are given as column names. |
scale.factor |
A number specifying the sclae factor used for library size normalization. Defaults to 1e6. |
filter.genes |
A Boolean specifying whether scLink should select genes based on mean expression.
When set to |
gene.names |
A character vector specifying the genes used for network construction.
Only needed when |
n |
An integer specifying the number of genes to be selected by scLink (defaults to 500).
Only needed when |
Value
A transformed and normalized gene expression matrix that can be used for correlation calculation and network construction.
Author(s)
Wei Vivian Li, vivian.li@rutgers.edu
Examples
count = readRDS(system.file("extdata", "example.rds", package = "scLink"))
count.norm = sclink_norm(count, scale.factor = 1e6, filter.genes = TRUE, n = 500)