setReplicates: Generic for the altering setReplicates slot.

Description Usage Arguments Value Methods (by class) Examples

Description

Updates the value of the replicates slot for the readsData object supplied.

Usage

1
2
3
4
setReplicates(object, repsval)

## S4 method for signature 'readsData'
setReplicates(object, repsval)

Arguments

object

a readsData object

repsval

A list of column indices for the samples in each condition.

Value

The same readsData object with the replicates slot updated.

Methods (by class)

Examples

1
2
3
4
RD <- new("readsData", counts = ERCC)
reps <- list(A = c(2,4,5,3,10),B = c(9,7,1,8,6))
RD <- setReplicates(RD, reps)
RD@replicates

denoiSeq documentation built on May 2, 2019, 9:33 a.m.