import_BED | R Documentation |
Import a BED file as a tibble
import_BED(bedfile, metadata_cols = NULL)
bedfile |
A tab-delimited file in bed format with columns: chrom, start, stop, ...(metadata cols)... |
metadata_cols |
A character vector of the names of metadata columns (bedfile cols 4+) in the BED file, to be imported as metadata in the tibble BED. These must be in the same order as they appear in the file, starting from column 4. |
A tibble representation of the BED file, optionally with metadata columns. If no metadata column names are provided, only the chrom, start and stop columns will be returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.