Transfer genomic coordinates from one genome build to another.
liftover(
sumstats_dt,
convert_ref_genome = NULL,
ref_genome = NULL,
chrom_col = "CHR",
start_col = "POS",
end_col = start_col,
as_granges = FALSE,
style = "NCBI",
verbose = TRUE
)
data table of the GWAS/QTL summary statistics.
name of the reference genome to convert to
("GRCh37" or "GRCh38"). This will only occur if the current genome build does
not match. Default is not to convert the genome build (NULL
).
name of the reference genome used for the GWAS ("GRCh37" or
"GRCh38"). Argument is case-insensitive.
Default is NULL
which infers the reference genome from the data.
column for chromosome
column for start position
column for end position (is the same as start for snps)
Return results as GRanges.
GRanges style (e.g. "UCSC" = "chr4; "NCBI" = 4).
Print messages.
Lifted summary stats data.table