View source: R/02_batch_correct.R
normalize | R Documentation |
This function normalizes the data in a batch-wise manner. The purpose is to minimize the impact of batch correction when clustering the data prior to batch correction. Three normalisation methods are implemented: Z-score, Rank, and Quantile normalization. Z-score is recommended in cases where batches from a single study/experiment is merged. Rank is recommend in cases where data from different studies/experiments are merged. Quantile is not recommended.
normalize(df, markers = NULL, norm_method = "scale", ties.method = "average")
df |
tibble with expression values |
markers |
Markers to normalize. If NULL, markers will be found using the |
norm_method |
Normalization method. Should be either 'rank', 'scale' or 'qnorm'. Default: 'scale' |
ties.method |
The method to handle ties, when using rank. Default: 'average'. See ?rank for other options. |
Other batch:
batch_correct()
,
correct_data()
,
create_som()
,
quantile_norm()
## Not run:
df_normed <- df %>%
normalize()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.