get_shm_motifs: Get Somatic Hypermutation (SHM) Motif Locations

Description Usage Arguments Value

Description

Reports the location of the SHM motifs within the GenomicRange (gr) object.

Usage

1
get_shm_motifs(gr, bs.genome)

Arguments

gr

GenomicRanges object. There needs to be a id column in the metadata. So that the 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 list of IRanges objects with the names being RGYW and WRCY. Each value is an IRanges object containing the relatives coordinates of the motifs with respect to the original GenomicRange.


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