increase_regularization: Increase a malacoda prior object's regularization

Description Usage Arguments Details Value See Also Examples

View source: R/prior_fitting.R

Description

This function takes a malacoda prior object and increases the regularization on transcription shift by a set factor.

Usage

1
increase_regularization(prior_object, increase_factor = 2)

Arguments

prior_object

a marginal prior object returned by fit_marg_prior()

increase_factor

a number indicating the factor by which to increase

Details

This function multiplies the alpha and beta parameters of the gamma priors on the mean for the RNA counts in order to keep the mean the same while ascribing less prior density to extreme values, thus effectively increasing the shrinkage applied to transcription shift while evaluating the posterior.

Value

A malacoda prior object with increase

See Also

fit_marg_prior sample_from_prior summarise_prior_samples

Examples

1

andrewGhazi/malacoda documentation built on Aug. 2, 2020, 12:54 a.m.