qsmoothWeights: Generic function that returns the qsmooth weights

qsmoothWeightsR Documentation

Generic function that returns the qsmooth weights

Description

Given a qsmooth object, this function returns the qsmooth weights

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

Usage

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

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)


stephaniehicks/qsmooth documentation built on Nov. 7, 2022, 1:41 p.m.