auto_normalisation_factor | R Documentation |
For a tibble dataset with a cell
and value
columns, it sums up all values per cell (total library size), and scales
the value for 10^x
where x
is the median nuimber of digits
in each total value size.
For instance for numbers of the order of ~1000 it will rescale the library size by a factor 1000, taking all values around ~1.
auto_normalisation_factor(x)
x |
A tibble with a |
A tibble, aggregated by cell with total values (sum), rescaled by the estimated constant.
data('example_input')
example_input$x_rna %>% auto_normalisation_factor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.