Description Usage Arguments Value Examples
View source: R/visualization.R
Function for plotting time series or other meta data. Uses facet wrap to display user-provided categorical variables.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | timeSeriesGrid(
object,
filter.name = "default",
cut.off = 5,
min.count = 0,
min.vaf = 0,
amplicons = NULL,
samples = NULL,
x_variable = NULL,
y_variable = "Max Non-ref Allele Frequency",
columns = "Sample Name",
rows = "Name",
color_by = "Name",
fdr = 0.05,
use.caller = TRUE,
bed_positions = NULL
)
|
object |
A consensus data table |
filter.name |
"default" |
cut.off |
5 |
min.count |
0 |
min.vaf |
0 |
amplicons |
NULL |
samples |
NULL |
x_variable |
NULL |
y_variable |
"Max Non-ref Allele Frequency" |
columns |
"Sample Name" |
rows |
"Name" |
color_by |
"Name" |
fdr |
0.05 |
use.caller |
TRUE |
bed_positions |
NULL |
A ggplot object.
1 2 3 4 5 6 7 8 9 10 11 12 13 | library(umiAnalyzer)
main <- system.file("extdata", package = "umiAnalyzer")
simsen <- createUmiExperiment(main)
simsen <- filterUmiObject(simsen)
metaData <- system.file("extdata", "metadata.txt", package = "umiAnalyzer")
simsen <- importDesign(object = simsen,file = metaData)
bed_dir <- system.file("extdata", "simple.bed", package = "umiAnalyzer")
bed <- importBedFile(path = bed_dir)
time_plot <- timeSeriesGrid(simsen, x_variable = "time", bed_positions = bed)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.