Description Usage Arguments Value Examples
Plot allele count versus origin time
1 2 3 |
file_or_dataframe |
file or data frame containing columns "Descendants" (or "AlleleCount" in older versions), "OriginTime and "BirthRate" |
log |
if TRUE then y-axis will be log-transformed (default FALSE) |
colour_by |
character containing name of column by which to colour the plot |
palette |
either a brewer palette or a vector of colours (if colour_by is categorical) |
discrete |
whether to use a discrete or continuous colour scale (default FALSE) |
print_plot |
whether to print the plot (otherwise the function returns a plot object) |
plot object, or plot displyed on screen
1 2 3 4 5 | plot_allelecount_vs_origintime(system.file("extdata", "output_genotype_properties.dat",
package = "demonanalysis", mustWork = TRUE))
plot_allelecount_vs_origintime(system.file("extdata", "output_genotype_properties.dat",
package = "demonanalysis", mustWork = TRUE), colour_by = "DriverMutations",
palette = c("black", "blue", "grey", "red"), discrete = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.