View source: R/dt_to_granges.R
dt_to_granges | R Documentation |
Convert data.table/data.frame to a GRanges object.
dt_to_granges(
dat,
chrom_col = "CHR",
start_col = "POS",
end_col = start_col,
style = "NCBI",
verbose = TRUE
)
dat |
Data. |
chrom_col |
Chromosome column name. |
start_col |
Genomic start position column name. |
end_col |
Genomic end position column name. |
style |
GRanges style (e.g. "NCBI, "UCSC") set by seqlevelsStyle. |
verbose |
Print messages. |
gr <- echodata::dt_to_granges(dat = echodata::BST1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.