sample_from_prior: Sample from prior

Description Usage Arguments Details Value Examples

View source: R/sampler_functions.R

Description

Randomly draw activities levels and transcription shifts from the prior

Usage

1
sample_from_prior(prior_df, n_samp = 5000)

Arguments

prior_df

a data frame of the prior for one variant

n_samp

number of prior simulation draws to pull

Details

This function draws n_samp draws from the prior for one variant.

Value

a data data frame of activity draws and the simulated transcription shift at each draw

Examples

1

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