Description Usage Arguments Details Value Author(s) Examples
checks if an object can be converted into a bed style data.frame then does the conversion.
1 2 3 4 5 6 7 8 9 10 |
x |
A region index (i.e. chr1:10-100, ...) either as a vector or row.names/first column of a data.frame. Or a data.frame with the first three columns "chr", s"start", "end" |
set.type |
should the attribute input.type be set. Sometimes it is desirable to avoid setting it when applying intermediate conversion |
check.zero.based |
should 0 based coordinates be checked |
check.chr |
should chr prefix be checked |
check.valid |
should the region be checked for integerity |
check.sort |
should the region be checked to see if it is sorted |
check.merge |
should the region be checked for overlapping regions |
verbose |
messages and text |
Very useful to convert data before using other bedr functions
Returns x converted to bedformat, as a data frame
Daryl Waggott
1 2 3 4 | ## Not run:
a.bed <- convert.to.bed(a)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.