indexSubset: Saving the indexes of a subset in the main dataset

Description Usage Arguments Value See Also Examples

View source: R/general_functions.R

Description

Used together with createSubset, returns the indexes in the main dataset of the wells chosen as a subset by the previous call of createSubset.

Usage

1
indexSubset(listIDs, equalTo)

Arguments

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

An integer vector containing the indexes in the main dataset of the wells chosen as a subset by the previous call of createSubset.

See Also

createSubset

Examples

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

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

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