createSubset: Creating a subset of a dataset according to a certain column...

Description Usage Arguments Value See Also Examples

View source: R/general_functions.R

Description

Creates a subset of a dataset containing all wells/lines having a certain value in a specified column.

Usage

1
createSubset(dataset, listIDs, equalTo)

Arguments

dataset

an R data frame generated with generateDatasetFile

listIDs

a character string and one of the following: Spotnumber, Internal_GeneID, GeneName, SpotType, SigIntensity, SDSIntensity, Background, LabtekNb, RowNb, ColNb, ScreenNb, NbCells, PercCells, ...

equalTo

A value or character string specifying the value in the chosen column, e.g. all wells on plate 2

Value

A subset of the dataset containing only the wells/lines having a certain value in a specified column.

See Also

indexSubset

Examples

1
2
3
data(exampleDataset, package="RNAither")

subset <- createSubset(dataset, dataset$LabtekNb, 2)

RNAither documentation built on Nov. 8, 2020, 8:06 p.m.