addExonExpression: Add exon expression file data to an existing data frame

Description Usage Arguments Value

View source: R/cohortNormalizedExpression.R

Description

Adds a column from a single exon data file to gene models data frame or an exon expression data frame. Can be used to grow a cohort-wide file of expression data one sample at a time by recursively using the returned data frame as the input exonModels file.

Usage

1
addExonExpression(exonModels, id, path, type = "rpkm")

Arguments

exonModels

The existing exon models data frame to append to, with or without additional columns. The data.frame returned by this function is a valid input for this parameter. See also loadCohortDefinition

id

The name of the column in the data frame after it is appended

path

The path to the exon expression data file being added.

type

The name of the column in the exon expression data file that is extracted and appended. By default this is "rpkm"

Value

A data frame with one row per exon with the initial columns describing the exons (as loaded by loadCohortDefinition), any following columns of data, and then the specified column from the given exon expression data file appended.


jefferys/FusionExpressionPlot documentation built on May 19, 2019, 3:59 a.m.