Skip to contents

This function allows you to plot both position-wise and cell-wise mito depth summary

Usage

plot_depth(ob, name = "", w = 10, h = 3)

Arguments

ob

The redeemR object

name

The plot name shown on top (optional, for backward compatibility)

w

the Width of the plot, default=10 (optional, for backward compatibility)

h

the height of the plot default=3 (optional, for backward compatibility)

Value

A list containing both the combined patchwork plot and individual plots

Examples

if (FALSE) {
depth_plots <- plot_depth(redeemR_obj)
depth_plots$combined
depth_plots$position_depth | depth_plots$cell_depth
}