ComputeWeight | R Documentation |
Compute the weight for each gene to construct gene-gene correlation
ComputeWeight( counts, normalization = TRUE, lib_size = NULL, method = "pearson" )
counts |
Raw count data, each column is a cell and each row is a gene. |
normalization |
Bool variable to denote whether to do normalization before computing the weight, The default is TRUE. |
lib_size |
Read deepth for each cell, For default, summarize all read counts across whole genes. |
method |
The method to compute correlation matrix, pearson (default). |
Return the weight for each gene, p x 1 vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.