generate_data_from_model: Function 'generate_data_from_model'

Description Usage Arguments Value

Description

Simulates count data fromt the Laplace-prior version of the model given hyperparameters. All hyperparameters must be given in the truth slot of the Scenario object argument.

Usage

1
generate_data_from_model(genes, design, truth)

Arguments

genes

number of genes/features/response variables in the data

design

Design matrix, with N rows and L columns. Same format as in edgeR::glmFit, with RNA-seq libraries/samples as rows and each beta_{l, .} as a column.

truth

a Starts object containing the necessary initialization constants and hyperparameters. All hyperparameters must be supplied.

Value

a list: a Scenario object with the scenario and a Starts object with the true parameters that the count dataset in the Scenario object was simulated from.


wlandau/fbseq documentation built on May 4, 2019, 8:43 a.m.