View source: R/variation_ratios.R
variation_ratios | R Documentation |
Creates Ratios of batch to variable variation statistic
variation_ratios(ex_variation_table, batch)
ex_variation_table |
table of explained variation results from batchqc_explained_variation |
batch |
batch |
dataframe with condition/batch ratios
library(scran)
se <- mockSCE()
se$Mutation_Status <- as.factor(se$Mutation_Status)
se$Treatment <- as.factor(se$Treatment)
expl_var_result <- batchqc_explained_variation(se, batch = "Mutation_Status",
condition = "Treatment", assay_name = "counts")
ratios_results <- variation_ratios(expl_var_result[[1]],
batch = "Mutation_Status")
ratios_results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.