Description Value Public fields Methods
This R6 environment object processes the raw data loaded in the provided
'user_DataObj' to calculate model constants according to user
specifications. Computes sample scaling parameters, the vector of infected
cell values to use in the likelihood summation,
and partitions test and control samples,
ModelObj (R6Class). Contains: – mean_var_model_params = "list", – guide_features = "matrix", – unobserved_infected_cell_values = "vector", – mean_var_model = "integer", – init_scaling = "vector", – dep_scaling = "vector", – test_sample_subtype_cols = "vector" – stepSize = 10 – guidePrior = 'string'
mean_var_model_paramsCoefficients to use in mean-var model.
guide_featuresMatrix of by-guide features.
master_freq_dtData.table of sgRNA frequencies in master libraries.
unobserved_infected_cell_valuesDiscrete values of infected cells for Riemann sum.
mean_var_modelInteger specifying which form of model to use.
init_scalingBy-sample vector of sample scaling factors.
dep_scalingBy-sample vector of depleted sample scaling.
test_sample_subtype_colsVector of column indices for 'test' subtype.
stepSizeInteger of infected cell intervals to evaluate.
guidePriorString indicating form of infection prior for README.
use_neg_ctrlBoolean indicating whether negative controls from DataObj should be used.
neg_ctrlsString vector of gene names for negative controls.
new()Create ModelObj Write messages and warnings to log file. @param message_vector String or table to write.
ModelObj$new( user_DataObj = NA, use_master_library = T, fit_guide_parameter = F, mean_var_model = 1, use_neg_ctrl = T, test_samples = NA, stepSize = 10 )
user_DataObjContaining all count data; a DataObj.
use_master_libraryBoolean, use masterlibrary to set guide abundance prior?
fit_guide_parameterBoolean, should by-guide efficiencies be calculated?
mean_var_modelOptional integer for mean~var fitting model; default poisson.
use_neg_ctrlBoolean, use negative control genes for scaling sample parameters and final essentiality value.
test_samplesString indicating which sample annotation to use when grouping test and control groups.
stepSizeNumber of cells to use for each step in the summation, default 10.
clone()The objects of this class are cloneable with this method.
ModelObj$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.