formatPlotSeg: Format copy number segments for use in plotting functions

Description Usage Arguments Value

View source: R/formatPlotSeg.R View source: R/formatPlotSeg 2.R

Description

This function will not be called directly by the user. The function is used by the plotSample function to reformat copy number segments to an appropriate format.

Usage

1
formatPlotSeg(seg, cum.vec)

Arguments

seg

a table with copy number segments obtained from the output file produced by the CARMA algorithm, found in the [["segments"]] list.

cum.vec

a vector with global positions for each chromosome.

Value

A data frame giving global start and end positions for each copy number segment.


arnevpladsen/CARMA documentation built on Dec. 19, 2021, 4:39 a.m.