calculate_gene_lfc | R Documentation |
Calculate gene log fold changes.
calculate_gene_lfc(
data = NULL,
id_column = 1,
gene_column = 2,
sample_columns = NULL
)
data |
sample sgRNA fold change matrix. |
id_column |
the index of column containing unique sgRNA identifiers. |
gene_column |
the index of column containing gene symbols. |
sample_columns |
the index of columns containing sample data to process. |
Takes an sgRNA fold change matrix and averages by gene.
Requires column indices be defined:
id_column
- column containing guide (sgRNA) identifiers (Default = 1).
gene_column
- column containing gene symbols/identifiers (Default = 2).
a data frame containing sample gene-level log fold changes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.