powered by
A function to visualize dot plots for a gene.
plot_dotplot(sgcount, df_design, gene, ge_id = NULL, sg_id = NULL)
The input matrix contains read counts of sgRNAs for each sample.
The table contains a study design.
The gene to be shown.
A name of the column contains gene names.
A name of the column contains sgRNA IDs.
A ggplot2 object contains dot plots of sgRNA read counts for a gene.
# NOT RUN { library(CB2) data(Evers_CRISPRn_RT112) plot_dotplot(get_CPM(Evers_CRISPRn_RT112$count), Evers_CRISPRn_RT112$design, "RPS7") # }
Run the code above in your browser using DataLab