Description Usage Arguments Value Examples
A function to visualize dot plots for a gene.
1 | plot_dotplot(sgcount, df_design, gene, ge_id = NULL, sg_id = NULL)
|
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. |
A ggplot2 object contains dot plots of sgRNA read counts for a gene.
1 2 3 | library(CB2)
data(Evers_CRISPRn_RT112)
plot_dotplot(get_CPM(Evers_CRISPRn_RT112$count), Evers_CRISPRn_RT112$design, "RPS7")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.