Description Usage Arguments Value Examples
This function takes in a peak matrix and an annotation file (gtf)and collapse the peak matrix to a gene activity matrix.
1 2 3 4 5 6 7 8 |
peaks |
Matrix of peak counts. |
annotation.file |
Path to GTF annotation file. |
seq.levels |
Which seqlevels to keep (corresponds to chromosomes usually). |
include.body |
Include the gene body? |
upstream |
Number of bases upstream to consider. |
downstream |
Number of bases downstream to consider. |
A Seurat object with both ATAC data matrix and gene activity matrix.
1 2 3 | ## Not run: annotation.file <- "../data/Homo_sapiens.GRCh37.82.gtf"
ATAC_example <- atac2rna(pbmc_small_atac, annotation.file = annotation.file)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.