Compute basic count statistics for use in generating plots

get_n_stats(plot_data, group_cols, genes)

Arguments

plot_data

a data.frame with joined annotations and gene expression data

group_cols

a group_cols list generated by group_columns()

genes

a vector of genes used for the plot

Value

a list of 3 count statistics: genes, groups, and samples