createGmatFromMat | R Documentation |
This function takes a snap object and gene list as input and creates cell-by-gene matrix
createGmatFromMat(obj, input.mat, genes, do.par, num.cores)
obj |
A snap object. |
input.mat |
Input matrix for calculating cell-by-gene matrix. |
genes |
A GRanges object contains the gene annotation with name as gene name. |
do.par |
A logical variable indicates if run this using multiple processors [TRUE]. |
num.cores |
Number of processers to use [1]. |
Returns a snap objects contains cell-by-gene matrix stored in "@gmat"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.