Skip to contents

given an object of GenomicRanges the function generates a seqlogo of the region flanked around five prime end.

Usage

get_five_prime_flank_motif(
  x,
  y = BSgenome.Hsapiens.UCSC.hg38::BSgenome.Hsapiens.UCSC.hg38,
  extend = 30
)

Arguments

x

an object of the class GenomicRanges

y

an object of class BSgenome, default BSgenome.Hsapiens.UCSC.hg38::BSgenome.Hsapiens.UCSC.hg38

extend

an integer, default 30, denoting number of basepairs to extend from five prime end of the range.

Value

a list containing ggseqlogo and sequences used to generate the logo.

Examples

if (FALSE) {

}