Learn R Programming

denoiSeq (version 0.1.1)

setStepSizes: Generic for altering the stepSizes slot.

Description

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

Usage

setStepSizes(object, stepSizesval)

# S4 method for readsData setStepSizes(object, stepSizesval)

Arguments

object

a readsData object

stepSizesval

A list of step sizes for each of the parameters.

Value

The same readsData object with the stepSizes slot updated.

Methods (by class)

  • readsData: Alters the value of the stepSizes slot of a readsData object.

Examples

Run this code
# NOT RUN {
RD <- new("readsData", counts = ERCC)
ss <- list(N_A = rep(2,  92), N_B = rep(1.5, 92), p = 3e5, f = 3.5e7)
RD <- setStepSizes(RD, ss)
RD@stepSizes
# }

Run the code above in your browser using DataLab