Updates the prior covariance matrices (Ulist) and mixture weights
(pi) in a fitted mashr model to match a reduced set of
conditions. Handles condition-specific, identity, and data-driven
covariance components.
Arguments
- mashModel
A fitted mash model object (from
mashr::mash).- allSamples
Character vector of all original condition names.
- samples
Character vector of the conditions to retain.