litfover_func: Convert hg19 <-> hg38 coordinates

View source: R/GRanges_functions.R

litfover_funcR Documentation

Convert hg19 <-> hg38 coordinates

Description

Using rtracklayer and GenomicRanges, this function converts hg19 <-> hg38 coordinates

Usage

litfover_func(
  folderWithLiftoverInfo,
  data2convert,
  hg19ToHg38 = FALSE,
  hg38ToHg19 = FALSE
)

Arguments

folderWithLiftoverInfo

Folder containing liftover chain information retrieved from UCSC website

hg19ToHg38

Boolean to transfrom hg19 to hg38

hg38ToHg19

Boolean to transfrom hg38 to hg19

df2convert

GenomicRanges or coordinate Dataframe provided to convert to GenomicRanges


HCGB-IGTP/HCGB.IGTP.DAnalysis documentation built on April 13, 2025, 12:03 a.m.