Plot the boxplot from ten random columns of the input matrix. Useful to visualize whether the provided count matrix is is logged or if any normalization was done.

checkType(count_matrix, n = 10)

Arguments

count_matrix

The matrix that we want to check

n

How many columns to check. Default to 10.

Value

the quantiles of the count matrix

Examples

data <- matrix(rnbinom(1000 * 100, size = 1000, prob = .999), ncol = 100) checkType(data)
#> 0% 25% 50% 75% 100% #> 0 0 1 2 7