applyQualityWeights: Apply pre-specified sample weights

View source: R/applyQualityWeights.R

applyQualityWeightsR Documentation

Apply pre-specified sample weights

Description

Apply pre-specified sample weights by scaling existing precision weights

Usage

applyQualityWeights(vobj, weights)

Arguments

vobj

EList from voom or voomWithDreamWeights.

weights

sample level weights

Details

Apply pre-specified sample-level weights to the existing precision weights estimated from the data. While the limma::voomWithQualityWeights function of Lui et al. (2015) estimates the sample-level weights from voom fit, here the weights are fixed beforehand.

References

\insertRef

liu2015weightvariancePartition

See Also

limma::voomWithQualityWeights


GabrielHoffman/variancePartition documentation built on Nov. 8, 2024, 11:17 a.m.