Description Usage Arguments Value See Also Examples
View source: R/04_bed_to_granges.R
Read bedfile into GRanges
1 2 3 4 5 6 7 8 |
bedfile |
file path |
genome |
string: UCSC genome name (e.g. 'mm10') |
txdb |
NULL (default) or |
do_order |
TRUE (default) or FALSE: order on seqnames and star? |
plot |
TRUE (default) or FALSE: plot karyogram? |
verbose |
TRUE (default) or FALSE |
GRanges-class
char_to_granges
, genes_to_granges
1 2 3 | bedfile <- system.file('extdata/SRF.bed', package = 'multicrispr')
bsgenome <- BSgenome.Mmusculus.UCSC.mm10::BSgenome.Mmusculus.UCSC.mm10
(gr <- bed_to_granges(bedfile, genome='mm10'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.