getRelatedPlotData {caOmicsV} | R Documentation

## Extract subset from A Data Frame Based on Relational Information

### 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

        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

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

[Package caOmicsV version 1.10.0 Index]