Description Usage Arguments Value Author(s)
View source: R/calc_log2_fold_change_gRNAs.R
Calculates log2 fold changes for sgRNAs from normalized counts. Median counts are taken across replicates.
1 | calc_log2_fold_change_gRNAs(counts, ref, comp, pseudo_count = 5)
|
counts |
A data frame of normalized sgRNA counts for each sample in the study (samples as columns, gRNAs as rows). |
ref |
A character vector naming the reference sample(s). |
comp |
A character vector naming the comparison sample(s) to be contrasted against 'ref' samples. |
pseudo_count |
A small integer specifying a pseudo-count to add to the counts to avoid log2(0) cases. Defaults to 5. |
A data frame of log2 fold changes in which the columns are samples and the rows are sgRNAs.
Alex T. Kalinka, alex.kalinka@cancer.org.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.