index2bed | R Documentation |
convert a region index into a bed file dataframe
index2bed(x, set.type = TRUE)
x |
an index |
set.type |
should the attribute input.type be set. Sometimes it is desirable to avoid setting it when applying intermediate conversion |
Daryl Waggott
if (check.binary("bedtools")) {
index <- get.example.regions();
a <- index[[1]];
a.bed <- index2bed(a);
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.