nb_histogram: This function creates a histogram from the negative binomial...

View source: R/negative_binomial_check.R

nb_histogramR Documentation

This function creates a histogram from the negative binomial goodness-of-fit pvalues.

Description

This function creates a histogram from the negative binomial goodness-of-fit pvalues.

Usage

nb_histogram(p_val_table)

Arguments

p_val_table

table of p-values from the nb test

Value

a histogram of the number of genes within a p-value range

Examples

# example code
library(scran)
se <- mockSCE(ncells = 20)
nb_results <- goodness_of_fit_DESeq2(se = se, count_matrix = "counts",
  condition = "Treatment", batch = "Mutation_Status")
nb_histogram(nb_results)

compbiomed/BatchQC documentation built on Aug. 1, 2024, 8:10 p.m.