Description Usage Arguments Details Value Author(s) Examples
Read a file containing locations of motif sites and convert it into a GRanges object.
1 |
file |
The name of the file where the locations of motif sites are stored. |
extendL |
A integer. The length to be extended from the centers of motif sites. |
The function reads a file containing locations of motif sites and converts it to a GRanges object. Because real binding sites are often located near peaks of histone modifications but not in the middle of peaks. By extending motif sites by 200 to 1000 bp on both sides, DynaMO can capture real motif sites.
A GRanges object.
Zheng Kuang
1 2 | readfile<-system.file("extdata","motif_1.txt",package="DynaMO",mustWork=TRUE)
motif1<-get.motif(readfile,300)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.