CovFromBoots: Extract the inter-gene covariance matrices for continuous and...

Description Usage Arguments Value

View source: R/CovFromBoots.R

Description

Computes the genewise covariance for a model coefficient from bootstrap replicates from 'MAST::bootVcov1()'. If coefficients are unestimable (i.e. NA) for a gene, that row/column in the covariance matrix will be NA. Returns a list with components "C" and "D" containing the covariance matrices for the "C"ontinuous and "D"iscrete components of the MAST model.

Usage

1
CovFromBoots(boots = NULL, coefficient = NULL)

Arguments

boots

a multidimensional array returned by 'bootVcov1' or 'pbootVcov1'.

coefficient

'character' the name of the model coefficient for which to return the inter-gene covariance matrices.

Value

list with components "C" and "D" containing covariance matrices for the continuous and discrete components of the model.


MAST documentation built on Nov. 8, 2020, 8:19 p.m.