addPhenodata {QDNAseq} | R 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)

[Package QDNAseq version 1.20.0 Index]