Generates general GVCF metrics plots for genome-wide GVCF statistics
Usage
plotGvcf(object, ...)
# S4 method for class 'PHGMetrics'
plotGvcf(
object,
metricId = NULL,
f = NULL,
nRow = NULL,
nCol = NULL,
tag = "A",
mData = NULL,
mVar = NULL,
colorOverride = NULL,
sampleOrder = NULL
)Arguments
- object
A
PHGMetricsobject containing the gVCF data.- ...
Additional arguments, for use in specific methods
- metricId
A character vector specifying the ID of the metric to be plotted. Only a single ID is supported.
- f
A formula object defining the plot.
- nRow
An integer specifying the number of rows in the plot layout.
- nCol
An integer specifying the number of columns in the plot layout.
- tag
What tag type do you want passed to final plot?
- mData
Add optional metadata
data.frameobject for categorical plotting. This object must contain a singular column namedsample,taxa, orlinealong with one or more columns containing categorical data for plotting.- mVar
If
mDatais specified, what categorical column do you want plotted? IfNULL, the first non-sample/taxa/linecolumn will be selected.- colorOverride
If
colorOverrideis specified, all default colors will be overridden with specified classic color or hex-based RGB value (e.g.,#000FFF).- sampleOrder
A
charactervector of sample IDs for manual order override. IfsampleOrderis specified, bars will be ordered based on order in vector object. Additionally, this can be used as a method to subset the base set for a given number of selected samples.