GetMotifLoc: Get loci of motif(s).

Description Usage Arguments Details Value Author(s) Examples

View source: R/methods.R

Description

Get loci of motif(s) from transcriptome. See 'Details'.

Usage

1
2
GetMotifLoc(motif = NULL, refGenome = "hg38", id = NULL, maxMM = 0,
  showPb = TRUE)

Arguments

motif

A character vector; specifies the query sequences that will be matched against the reference transcriptome.

refGenome

A character string; specifies the reference genome version; default is "hg38".

id

A character string; specifies an identifier for motif; default is NULL

maxMM

An integer scalar; specifies the maximum number of mismatches that are allowed during the motif matching; default is 0.

showPb

A logical scalar; if TRUE show a progress bar; default is TRUE.

Details

Based on a set of query sequences motif, extract the loci of matching sequences within different regions of a reference transcriptome refGenome. The function returns a txLoc object including transcriptomic and genomic loci of the query motif(s). The maximum number of mismatches allowed in the motif search can be adjusted through maxMM. Note that the motif search may take a few minutes, depending on the number of motif(s), hardware, and size of the transcriptome.

Value

A txLoc object.

Author(s)

Maurits Evers, maurits.evers@anu.edu.au

Examples

1
2
3
4
5
6
## Not run: 
PAS <- GetMotifLoc(id = "PAS")
PAS <- FilterTxLoc(PAS, c("3'UTR", "CDS", "5'UTR"))
PlotSpatialDistribution(PAS, absolute = FALSE)

## End(Not run)

mevers/RNAModR documentation built on Nov. 17, 2019, 9:11 a.m.