Get_params: Getting the parameters for simulating gene expression from...

View source: R/GeneExpression_sim.R

Get_paramsR Documentation

Getting the parameters for simulating gene expression from cif and gene effects

Description

This function takes gene_effect and cif, take their dot product and scale the product to the correct range by using first a logistic function and then adding/dividing by constant to their correct range

Usage

Get_params(gene_effects, cif, match_param_den, bimod, scale_s = 1)

Arguments

gene_effects

a list of three matrices (generated using the GeneEffects function), each corresponding to one kinetic parameter. Each matrix has ncif columns, and ngenes rows.

cif

a vector of length ncif, the cell specific extrinsic variation factor

match_param_den

the fitted parameter distribution density to sample from

bimod

the bimodality constant

scale_s

a factor to scale the s parameter, which is used to tune the size of the actual cell (small cells have less number of transcripts in total)

Value

params a matrix of ngenes * 3

Examples

Get_params()

Galaxeee/TedSim documentation built on Oct. 2, 2022, 1:25 a.m.