Learn R Programming

comradesOO (version 0.1.1)

getData: getData

Description

Get data is more generic method for retrieving data from the object and returns a list, the number of entries in the list is number of samples in the dataset and the list contain entries of the data type and analysis stage you select.

Usage

getData(x, data, type)

Value

A list of the chosen data type - one entry for each sample

Arguments

x

A comradesDataSet object

data

The data type to return <hybFiles | matrixList | clusterGrangesList | clusterTableList>

type

The analysis stage <original | noHost | originalClusters | trimmedClusters>

Examples

Run this code
cds = makeExampleComradesDataSet()

getData(cds, 'matrixList','original')

Run the code above in your browser using DataLab