significant_interactions {phenopath} | R Documentation |
Given the results of clvm
, decide which features show significant
iteractions between the latent trajectory and covariates. Significant
features are designated as those where the variational mean of the interaction
coefficient falls outside the n σ interval of 0.
significant_interactions(phenopath_fit, n = 3)
phenopath_fit |
The results of a call to |
n |
The number of standard deviations away from 0 the posterior estimate of beta should be to be designated significant. |
A logical vector describing whether each feature passes the significance test.
sim <- simulate_phenopath() fit <- phenopath(sim$y, sim$x, elbo_tol = 1e-2) signints <- significant_interactions(fit)