getGenomeLengths: setPositionsCNV

View source: R/getGenomeLengths.R

getGenomeLengthsR Documentation

setPositionsCNV

Description

Set the start and coords for the geom_rect

Usage

getGenomeLengths(ReturnClass, genome = "hg19", FinalChrom = "chrX", ...)

Arguments

genome

string. The geneome to download from UCSC. Default: hg19

FinalChrom

string. The final chromosome to include in the plot. Default: chrX

Copynumber

Dataframe of your segments. REQUIRED

Details

This function will take a dataframe with sample, chr, start.pos, end.pos and call. It will output a full plot of all the segments

Examples

setPositionsCNV(CNVvault_class)

findlaycopley/PlotCNV documentation built on Feb. 27, 2025, 1:55 a.m.