cond_log2_transform_assays | R Documentation |
Conditionally apply log2 transformation on assay data based on log2_assays parameter.
cond_log2_transform_assays(
assay_data,
log2_assays,
threshold = 30,
reverse = FALSE,
prettify_names = TRUE
)
assay_data |
A list containing matrices as assay data. |
log2_assays |
A string parameter that can be NULL, empty, or a non-empty string. If NULL: log2 transformation will be guessed based on input assays. If empty: no log2 transformation will be applied. If non-empty: log2 transformation will be applied unconditionally to specified assays. |
threshold |
A numeric threshold to determine if the matrix should be log-transformed. This is only checked if should_transform is NULL. |
reverse |
Boolean, should we unlog rather than log? |
prettify_names |
Boolean. Prettify element names? Passed to validate_indices(). |
A modified assay_data list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.