qsmoothWeights: Generic function that returns the qsmooth weights

Description Usage Arguments Value Examples

Description

Given a qsmooth object, this function returns the qsmooth weights

Accessors for the 'qsmoothWeights' slot of a qsmooth object.

Usage

1
2
3
4
qsmoothWeights(object)

## S4 method for signature 'qsmooth'
qsmoothWeights(object)

Arguments

object

an object of class qsmooth.

Value

The weights calculated for each feature after applying smoothed quantile normalization.

Examples

1
2
3
4
5
dat <- cbind(matrix(rnorm(1000), nrow=100, ncol=10), 
             matrix(rnorm(1000, .1, .7), nrow=100, ncol=10))
dat_qs <- qsmooth(object = dat, 
                  group_factor = rep(c(0,1), each=10))
qsmoothWeights(dat_qs)

qsmooth documentation built on Nov. 8, 2020, 5:26 p.m.