parameters: Accessors for the 'parameters' slot of an srnadiffExp object

parametersR Documentation

Accessors for the 'parameters' slot of an srnadiffExp object

Description

The parameters slot holds the parameter values used in an sRNA-diff approach as a named list. Default values exist for parameters, but these can also be supplied as input values in the useParameters argument of the srnadiff function or using the assignment function parameters<-.

Usage

## S4 method for signature 'srnadiffExp'
parameters(object)

## S4 replacement method for signature 'srnadiffExp'
parameters(object) <- value

## S3 method for class 'srnadiff_par'
print(x, ...)

Arguments

object

An srnadiffExp object.

value

A named list containing valid parameters. See details.

x

The first element of the parameters used by an srnadiff object

...

The other elements of the parameters

Value

The named list of the parameters used in the analysis.

See Also

useParameters argument in srnadiff function.

Examples

srnaExp <- srnadiffExample()
srnaExp <- srnadiff(srnaExp)
print(parameters(srnaExp))

parameters(srnaExp) <- list("minSize" = 1, "maxSize" = 1500)

srnaExp <- srnadiffExample()
srnaExp <- srnadiff(srnaExp)
print(parameters(srnaExp))


mzytnicki/srnadiff documentation built on March 7, 2023, 2:18 a.m.