Learn R Programming

BioVizSeq (version 1.0.0)

get_motif_location: get_motif_location

Description

Extract the location information of motif from mast or meme file

Usage

get_motif_location(motif_file)

Value

list

Arguments

motif_file

The motif data of mast or meme file.

Author

Shiqi Zhao

Examples

Run this code
meme_path <- system.file("extdata", "meme.xml", package = "BioVizSeq") 
meme_file <- readLines(meme_path)
motif_loc <- get_motif_location(meme_file)

mast_path <- system.file("extdata", "mast.xml", package = "BioVizSeq") 
mast_file <- readLines(mast_path)
motif_loc <- get_motif_location(mast_file)

Run the code above in your browser using DataLab