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

Description Usage Arguments Value Examples

View source: R/general_functions.R

Description

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

Usage

1
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

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

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

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