| dt_to_granges {MungeSumstats} | R Documentation |
Convert data.table to GRanges object
dt_to_granges(
dat,
style = c("NCBI", "UCSC"),
chrom_col = "CHR",
start_col = "POS",
end_col = "POS"
)
dat |
data.table of genomic data |
style |
conversion to GRanges style, NCBI or UCSC |
chrom_col |
column for chromosome |
start_col |
column for start position |
end_col |
column for end position (is the same as start for snps) |
GRanges object of the genomic data