getRelatedPlotData: Extract subset from A Data Frame Based on Relational...

Description Usage Arguments Value Author(s) Examples

View source: R/caOmicsV.R

Description

Extract subset of plot data based on relational information, e.g., expression of miRNA or DNA copy number variations that are correlated to differentially expressed genes

Usage

1
    getRelatedPlotData(omicsData, linkData, geneNames)

Arguments

omicsData

a data frame, the dataset from which subset is extracted

linkData

a data frame, usually gene names and their related items. The first column must be the items to which the second item is linked to.

geneNames

character vector, subset of gene names for subset.

Value

A data frame with subset of the first input data.

Author(s)

Henry Zhang

Examples

1
2
3
4
    data(miRNA)
    data(RNA2miRNA)
    geneNames <- as.character(RNA2miRNA[,1])
    miRNAexpr <- getRelatedPlotData(miRNA, RNA2miRNA, geneNames)

caOmicsV documentation built on Nov. 8, 2020, 8:23 p.m.