powered by
Updates the value of the replicates slot for the readsData object supplied.
setReplicates(object, repsval)# S4 method for readsData setReplicates(object, repsval)
# S4 method for readsData setReplicates(object, repsval)
a readsData object
A list of column indices for the samples in each condition.
The same readsData object with the replicates slot updated.
readsData: Alters the value of the replicates slot of a readsData object.
readsData
# NOT RUN { 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 # }
Run the code above in your browser using DataLab