View source: R/FactorFootprints.R
readBed2 | R Documentation |
Read a bed file to genomicRanges Object with option for seqlengths
readBed2(filename, HOCO = F, species = "human", BSg = NULL)
filename |
Character of .bed file name and location (assumes no header) |
HOCO |
Boolean indicaitng if .bed file is HOCOMOCO TFBS bed file. Default is FALSE |
species |
One of "human" or "mouse" to use already specified BSgenome objects. Leave NULL to use custom BSgenome. |
BSg |
BSgenome object containign seqlengths for genome of interest. Use if you want to specify specific BSgenome (especially if not mouse or human). Or leave NULL along with 'species' to not include seqlengths. |
GRanges object of bedfile regions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.