function_value_onemarker {CyTOFpower} | R Documentation |
Compute simulated cell values for one marker with markers NB informations
function_value_onemarker( marker_name, mu0, dispersion, subject_effect, nb_donor, nb_cell_per_sample, rho = 1 )
marker_name |
character, name of the marker. |
mu0 |
numeric, general donor mean from which the individual mu0i will be drawn. |
dispersion |
numeric, dispersion of the markers. |
subject_effect |
numeric, standard deviation for the normal distribution from which the donor's means will be drawn (by default subject_effect = 0.01). |
nb_donor |
numeric, number of donors. |
nb_cell_per_sample |
numeric, number of cells per sample (by default nb_cell_per_sample = 500). |
rho |
numeric, fold change. |
Function to generate value for one marker with a mean and dispersion specified for the negative binomiale.
data.frame of cell values.