Learn R Programming

RNAither (version 2.20.0)

findReplicates: Find all replicates of a certain siRNA/gene in a dataset

Description

Returns which lines in the dataset correspond to a given siRNA/gene ID.

Usage

findReplicates(dataset, whichCol, replicateID)

Arguments

dataset
an R data frame generated with generateDatasetFile
whichCol
a character string specifying the name of the column containing the ID, either Internal_GeneID or GeneName
replicateID
the siRNA/gene ID of interest

Value

An integer vector containing the indexes in the main dataset of all wells corresponding to a given siRNA/gene ID

Examples

Run this code
data(exampleHeader, package="RNAither")
data(exampleDataset, package="RNAither")

Indexes <- findReplicates(dataset, "GeneName", "CPSF1")

Run the code above in your browser using DataLab