powered by
A function to plot read count distribution.
plot_count_distribution(sgcount, df_design, add_dots = FALSE)
The input matrix contains read counts of sgRNAs for each sample.
The table contains a study design.
The function will display dots of sgRNA counts if it is set to `TRUE`.
A ggplot2 object contains a read count distribution plot for `sgcount`.
# NOT RUN { library(CB2) data(Evers_CRISPRn_RT112) cpm <- get_CPM(Evers_CRISPRn_RT112$count) plot_count_distribution(cpm, Evers_CRISPRn_RT112$design) # }
Run the code above in your browser using DataLab