plotMetrics: plotMetrics

View source: R/plotMetrics.R

plotMetricsR Documentation

plotMetrics

Description

Plots swarm plots from selected elements of colData.

Usage

plotMetrics(scCNA, metric, label = NULL, dodge.width = 0, ncol = 2)

Arguments

scCNA

scCNA object.

metric

A character indicating which elements of colData() should be plotted.

label

A character indicating which element of the colData() to color the plots.

dodge.width

A numeric that adds dodge between the label categories.

ncol

A Integer specifying the number of columns to be used for the panels of a multi-facet plot.

Value

A ggplot object with swarm plots of the selected metrics.

Author(s)

Darlan Conterno Minussi

Examples

copykit_obj <- mock_bincounts()
copykit_obj <- runMetrics(copykit_obj)

navinlabcode/copykit documentation built on Oct. 16, 2024, 2:55 p.m.