R/get_reference.R

Defines functions get_reference

get_reference = function(ref)
{

  if(ref %in% c("hg19", "GRCh37"))
    return(CNAqc::chr_coordinates_hg19)

  if(ref %in% c("hg38", "GRCh38"))
    return(CNAqc::chr_coordinates_GRCh38)

  stop("Available references: hg19 (or GRCh37), and hg38 (or GRCh38)")
}
caravagnalab/CNAqc documentation built on Oct. 31, 2024, 3:54 a.m.