View source: R/prepare_elements.R
prepare_elements_from_BED12 | R Documentation |
Prepares element coords from a BED12 file
prepare_elements_from_BED12(fname)
fname |
The file name of a BED12 file containing the desired elements. For further documentation on the BED12 format, refer to the UCSC website. |
A data frame containing the following columns to be used as the input element coords to ActiveDriverWGS
autosomal chromosomes as chr1 to chr22 and sex chromosomes as chrX and chrY
the start position of the element in base 0 coordinates (BED format)
the end position of the element in base 0 coordinates (BED format)
the element identifier - if the element contains multiple segments such as exons, each segment should be a separate row with the segment coordinates and the element identifier as id. Elements can be coding or noncoding such as exons of protein coding genes or active enhancers.
elements = prepare_elements_from_BED12(system.file("extdata", "chr17.coding_regions.bed", package = "ActiveDriverWGS", mustWork = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.