addPhenodata: Adds phenotype data from a file to a QDNAseqReadCounts or a...

View source: R/addPhenodata.R

addPhenodataR Documentation

Adds phenotype data from a file to a QDNAseqReadCounts or a QDNAseqCopyNumbers object

Description

Adds phenotype data from a file to a QDNAseqReadCounts or a QDNAseqCopyNumbers object.

Usage

addPhenodata(object, phenofile)

Arguments

object

A QDNAseqReadCounts or QDNAseqCopyNumbers object.

phenofile

A file name with phenotypic data for samples in object.

Value

Returns a QDNAseqReadCounts or QDNAseqCopyNumbers object with phenotype data added.

Author(s)

Ilari Scheinin

Examples

data(LGG150)
readCounts <- LGG150
## Not run: 
readCounts <- addPhenodata(readCounts, "phenodata.txt")

## End(Not run)

ccagc/QDNAseq documentation built on Feb. 2, 2023, 12:56 p.m.