setReplicates-readsData-method: Mutator method for the replicates slot of the readsData...

Description Usage Arguments Value Examples

Description

Alters the value of the replicates slot.

Usage

1
2
## 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.

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

buriom/denoiSeq documentation built on May 13, 2019, 8:47 a.m.