getPlotSampleData {caOmicsV} | R Documentation

## Extract Subset of Sample Information

### Description

Extract required rows and columns from a sample dataset

### Usage

        getPlotSampleData(sampleData, sampleNames)

### Arguments

`sampleData` | Data frame with rows for samples and columns for features. Column 1 must be sample names.
`sampleNames` | character vector, names of samples to select.

### Value

A data frame with subset of sample data and with the row order same as sampleNames.

### Author(s)

Henry Zhang

### Examples

        data(sampleDemoData)
        sampleNames <- as.character(sampleDemoData[10:40,1])
        sampleInfo <- getPlotSampleData(sampleDemoData, sampleNames)

[Package caOmicsV version 1.16.0 Index]