count_shm_motifs: Count the Number of Somatic Hypermutation (SHM) Motifs

Description Usage Arguments Value

Description

Counts the number of the SHM motifs within the GenomicRange (gr) object.

Usage

1
count_shm_motifs(gr, bs.genome)

Arguments

gr

GRanges object. There needs to be a id column in the metadata. So that the number of motifs can be associated with the original GenomicRange.

BS.genome

This a Biostring-based genome object. (BSgenome from Bioconductor). For instance, library("BSgenome.Hsapiens.UCSC.hg19") can be used.

Value

A n x 3 data.frame indicating the original GRanges id, the number


tinyheero/shmutils documentation built on May 31, 2019, 3:36 p.m.