View source: R/plotVafCluster.R
plotVafCluster | R Documentation |
Plot variant clustering in each sample by using combination of box, violin and jitter plots.
plotVafCluster( variants, cluster.col.name = "cluster", vaf.col.names, clone.colors = NULL, violin = FALSE, box = TRUE, jitter = TRUE, founding.cluster = 1, output.file = NULL, highlight = NULL, highlight.note.col.name = NULL )
variants |
data frame of the variants. At least cluster column and VAF or CCF columns are required. Cluster column should contain cluster identities as continuous integer values starting from 1. |
cluster.col.name |
the column names that containing cluster information (Default = "cluster"). |
vaf.col.names |
the column names of samples containing VAF. |
clone.colors |
setting clone colors. |
violin |
whether plotting violin (Default = FALSE). |
box |
whether plotting box (Default = TRUE). |
jitter |
whether plotting jitter plot (Default = TRUE). |
founding.cluster |
the name of founding clones, one of the most important parameters. For most of circumstances, the founding cluster is the cluster with the highest average CCF cluster. |
output.file |
the output file name (Default = NULL) |
highlight |
column name to indicate whether highlight the sites (TRUE or FALSE). |
highlight.note.col.name |
highlight context. |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.