getVarGrams: Get actual grams for an abbreviation

getVarGramsR Documentation

Get actual grams for an abbreviation

Description

getVarGrams returns a vector of grams given an abbreviation.

Usage

getVarGrams(grams)

Arguments

grams

a character string (e.g., V1, v1, MOUSE, mouse, mm10, mm) or a string vector. V1 means AATAAA and its variants; MOUSE means hexamers of polyA signals in mouse. Mouse signals are obtained from https://polyasite.unibas.ch/atlas#2, which reside in a region of 60 nt upstream to 10 nt downstream of one of the poly(A) sites of a cluster.

Details

This function is used to get common grams.

Value

A vector of grams.

See Also

Other APA signal functions: annotateByPAS(), faFromPACds(), kcount(), plotATCGforFAfile(), plotSeqLogo()

Examples

## get AATAAA and its variants
getVarGrams('v1')
## get mouse hexamers
getVarGrams('mm')
## not doing anything
getVarGrams(c('AATAAA','AATT'))

BMILAB/movAPA documentation built on Jan. 3, 2024, 11:09 p.m.