plot_dotplot {CB2} | R Documentation |
A function to visualize dot plots for a gene.
Description
A function to visualize dot plots for a gene.
Usage
plot_dotplot(sgcount, df_design, gene, ge_id = NULL, sg_id = NULL)
Arguments
sgcount |
The input matrix contains read counts of sgRNAs for each sample. |
df_design |
The table contains a study design. |
gene |
The gene to be shown. |
ge_id |
A name of the column contains gene names. |
sg_id |
A name of the column contains sgRNA IDs. |
Value
A ggplot2 object contains dot plots of sgRNA read counts for a gene.
Examples
library(CB2)
data(Evers_CRISPRn_RT112)
plot_dotplot(get_CPM(Evers_CRISPRn_RT112$count), Evers_CRISPRn_RT112$design, "RPS7")
[Package CB2 version 1.3.4 Index]