View source: R/file_format_io.R
read_motifmap | R Documentation |
Even though this function reads a BED file,
rtracklayer::import.bed()
is not suitable because it chokes on
spaces in fields, which MotifMap contains. Hence the need for a
separate function.
read_motifmap(file, parse_name = TRUE)
file |
The file name to read from. |
parse_name |
If TRUE, separate the "name" column into "motif_ID" and "TF_name" fields. |
a GRanges object with an mcol named "score". If
parse_name
is FALSE, it will also have an mcol named "name".
If parse_name
is TRUE, it will have mcols named "motif_ID",
and "TF_name".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.