View source: R/normalisation_functions.R
create a function that can normalise an ExpressionSet (optionally converting the input dataset to an ExpressionSet beforehand)
1 2 3 | build_eset_normaliser(eset_making_fn = identity,
normalise_fn = c("none", "quantile"),
log_checking_fn = check_if_pretransformed_eset)
|
eset_making_fn |
A function to convert a dataset to an
ExpressionSet. If the user is already working with an ExpressionSet, just
use |
normalise_fn |
A function to normalise an ExpressionSet. Options are 'quantile' (for quantile normalisation) and 'none' (for do not modify; the default). |
log_checking_fn |
A function that can determine whether an ExpressionSet is already log-transformed. This helps prevent you from log-transforming an already log-transformed dataset, and from forgetting to log-transform and non-transformed dataset. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.