View source: R/DataParsingFunctions.R
mapSnapATACToGenes | R Documentation |
mapSnapATACToGenes
Generates a mapping from genes to peaks per label
mapSnapATACToGenes(labelGenes, snap, whichMat = "bmat", regions)
labelGenes |
data.frame with genes of interest in first column and corresponding labels in second column |
snap |
a snap object |
whichMat |
string determing whether to use "bmat" or "gmat" from snap object |
regions |
GRanges object of genomic regions associated with genes (only needed for "bmat") |
list of genes and corresponding peaks by label
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.