Perform genome build liftover to one or more GRanges objects at once.
liftover_grlist(
grlist,
input_build,
output_build = "hg19",
style = "UCSC",
as_grangeslist = FALSE,
merge_all = FALSE,
verbose = TRUE
)
A named list of GRanges objects, or simply a single unlisted GRanges object.
The genome build of grlist
.
Desired genome build for
grlist
to be lifted over to.
Chromosome style, set by seqlevelsStyle.
"UCSC" : Uses the chromosome style "chr1".
"NCBI" : Uses the chromosome style "1"
Return as a GRangesList.
Print messages.
Named list of lifted GRanges objects.
grlist <- list("gr1"=GenomicRanges::GRanges("4:1-100000"),
"gr2"=GenomicRanges::GRanges("6:1-100000"),
"gr3"=GenomicRanges::GRanges("8:1-100000"))
grlist_lifted <- liftover_grlist(grlist = grlist,
input_build = "hg19",
output_build="hg38")
#> Preparing chain file.
#> snapshotDate(): 2022-05-13
#> loading from cache
#> Performing liftover: hg19 --> hg38