Description Details Value Public fields Methods
This function is an R6 object class to create an environment for data analysis. Use to load all data associated with a single-target negative selection CRISPR screen; stores all data with minimal processing, but checks for errors and data inconsistencies.
All data objects in this class currently public, permitting operations without copying over the entire dataset in function calls. Normalization results and other preprocessing performed by ModelObjClass.
DataObj(R6) of all data used in experiment. When applicable, raw count data is returned. Normalization should happen as ModelObj.
init_countsdata.table of initial read counts.
dep_countsdata.table of depleted read counts.
master_countsdata.table of read counts from master library.
neg_control_fileName of file containing negative control genes.
guide_covarsFile name for sgRNA efficiency prediction features.
guide2gene_mapIndex for gene targeted by each sgRNA.
init_total_readsTotal reads per initial sample.
dep_total_readsTotal reads per depleted sample.
cells_infectedTotal number of cells infected per sample.
sample_masterlibIndex for which masterlibrary went to which sample.
sample_annotationsSample annotations; used for partitioning test/ctrl.
new()Create a new DataObj
DataObj$new( masterFiles = NA, countFile, negCtrlFile = NA, cellsInfected = NA, guideCovarFile = NA, sampleInfoFile = NA, totalReads = NA, hasInitSeq = T, sampleMasterInfoFile = NA, useSamples = NA )
masterFilesVector of file names of master libraries. 1 column sgrna.
countFileText file with columns sgrna-name, gene, init_sample_1, dep_sample_1, etc.
negCtrlFileText file with first column containing names of negative control genes.
cellsInfectedInteger of total number of cells infected by masterlibrary in masterFile; defaults to 1e3 cells per guide in master library.
guideCovarFileFile with features to use in guide efficiency modelling.
sampleInfoFileFile with sample initial reads info and sample types (e.g. test/ctrl)
totalReadsOptional numeric value or vector with by-sample total read counts.
hasInitSeqDefault True; are counts for initial infected guides present in count file?
sampleMasterInfoFileFile mapping samples to masterlibrary files.
useSamplesOptional. Sample indices in countFile to analyze. Subsets data stored in object. Only depleted sample indices must be given; any initial samples will be auto-matched. Write messages and warnings to log file. @param message_vector String or table to write.
clone()The objects of this class are cloneable with this method.
DataObj$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.