Contrast: r params$comparison.id

This is a report visualizing the overall dynamics of a single contrast in a pooled CRISPR-based screening experiment. See the vignettes folder of the gCrisprTools R package for further discussion of the proper analysis and interpretation of these experiments. For analysts, the manual pages of the various functions provide further detail about the analytical approaches employed and computational considerations relevant to their interpretation; most of the functions used in this report can also be extended in various ways to clarify more specific experimental questions that may arise during the analysis of a CRISPR screen.

GC Content and Estimated Model Effects

GC content can influence PCR efficiency, and strong GC-related effects may be evidence of poor library quality in CRISPR screens. Ideally, there should be no clear relationship between GC content and a gRNA's variance, fold change, or evidence for differential abundance. Keep in mind that some libraries may contain important subsets of gRNAs that have systematic differences in GC content, however (e.g., nontargeting controls).

if (is.null(params$sampleKey)) {
  ct.GCbias(data.obj = params$fit, 
            ann = params$annotation
            )
} else {
  ct.GCbias(data.obj = params$fit, 
            ann = params$annotation, 
            sampleKey = params$sampleKey
            )
}




Most Variable Genes and gRNAs as a Proportion of the Libraries

In experiments that include highly distorted libraries, it can be useful to identify the genes or gRNAs that change the most across the experiment as a heuristic way of identifying gRNAs of interest in situations where standard statistical approaches are not likely to function well.

if (is.null(params$sampleKey)) {
  ct.stackGuides(
    eset = params$eset, 
    plotType = "Target", 
    annotation = params$annotation,
    subset = params$contrast.subset
  )
} else {
  ct.stackGuides(
    eset = params$eset,
    sampleKey = params$sampleKey,
    plotType = "Target", 
    annotation = params$annotation,
    subset = params$contrast.subset
  )
}




if (is.null(params$sampleKey)) {
  ct.stackGuides(
    eset = params$eset, 
    plotType = "gRNA", 
    annotation = params$annotation,
    subset = params$contrast.subset
  )
} else {
  ct.stackGuides(
    eset = params$eset,
    sampleKey = params$sampleKey,
    plotType = "gRNA", 
    annotation = params$annotation,
    subset = params$contrast.subset
  )
}




Top Signals of Target Enrichment and Depletion

Below are plots indicating the targets with the most evidence for enrichment and depletion within the indicated contrast. Genes are ranked by aggregating the signal for depletion or enrichment across all gRNAs targeting the corresponding element according to the method specified in the call to ct.generateResults(). Within each plot, candidates are ordered by the evidence for enrichment or depletion. Each gRNA targeting the gene is plotted as a point, with the estimated log2 fold change within the contrast indicated on the Y-axis and the standard deviation of the estimate shown as a blue bar.

enrich <- ct.topTargets(params$fit, params$results, params$annotation, targets = 20, enrich = TRUE, contrast.term=params$comparison.id)




deplete <- ct.topTargets(params$fit, params$results, params$annotation, targets = 20, enrich = FALSE, contrast.term=params$comparison.id)






OscarBrock/gCrisprTools documentation built on Oct. 25, 2022, 7:29 a.m.