objectsampletotemplate: Converts data of a sample in a QDNAseq-object to a template...

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/ACE.R

Description

objectsampletotemplate parses QDNAseq-objects into the data frame structure used by various ACE functions. These functions call objectsampletotemplate itself when necessary, but it might be convenient to make a template if you expect some repeated use of the functions or if you want to make manual adjustments to the template.

Usage

1

Arguments

copyNumbersSegmented

QDNAseqCopyNumbers object with segmented data

index

Integer. Specifies the index of the sample

Value

Returns a template data frame with the columns bin, chromosome, copynumbers, and segments (when available)

Note

If segment values are missing, the function will still return a data frame, but only containing the copynumbers column, not the segments column

Author(s)

Jos B. Poell

See Also

singlemodel, squaremodel, singleplot

Examples

1
2
data("copyNumbersSegmented")
template <- objectsampletotemplate(copyNumbersSegmented, index = 1)

ACE documentation built on Nov. 8, 2020, 5:30 p.m.