View source: R/raw_count_statistics.R
count_matrix_stats | R Documentation |
Calculate common CRISPR statistics from a count matrix
count_matrix_stats(
count_matrix = NULL,
id_column = 1,
gene_column = 2,
count_column = 3,
low_counts = 30,
total_reads = NULL
)
count_matrix |
a count matrix data frame. |
id_column |
the index of column containing unique sgRNA identifiers. |
gene_column |
the index of column containing gene symbols. |
count_column |
the index of column containing counts. |
low_counts |
a threshold below which counts are considered low (default: 30). |
total_reads |
a vector of read totals with samples as names. |
Optionally, total read counts can be given as a vector to total_reads
with sample names as names for adding total reads (total_reads
), proportion of mapped reads (prop_mapped_reads
) and percentage of mapped reads (pct_mapped_reads
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.