findReplicates {RNAither} | R Documentation

## 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

    data(exampleHeader, package="RNAither")
    data(exampleDataset, package="RNAither")

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

[Package RNAither version 2.28.0 Index]