selectFeatures: Selects features from raw data

View source: R/rawData.R

selectFeaturesR Documentation

Selects features from raw data

Description

Selects features from raw data by looking at "signal" (if specified) or "counts" from rawData.

Usage

selectFeatures(rawData, keep)

Arguments

rawData

a list of raw data obtained from loadCountDataset().

keep

a character vector specifying which signals or counts to keep.

Value

Returns the selected raw data.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

param = ezParam()
param$dataRoot = system.file(package="ezRun", mustWork = TRUE)
file = system.file("extdata/yeast_10k_STAR_counts/dataset.tsv", package="ezRun", mustWork = TRUE)
input = EzDataset$new(file=file, dataRoot=param$dataRoot)
rawData = loadCountDataset(input, param)
keep = "YFR014C"
rd2 = selectFeatures(rawData, keep)

uzh/ezRun documentation built on Dec. 26, 2024, 9:53 a.m.