FragmentHistogram: Plot fragment length histogram

View source: R/visualization.R

FragmentHistogramR Documentation

Plot fragment length histogram

Description

Plot the frequency that fragments of different lengths are present for different groups of cells.

Usage

FragmentHistogram(
  object,
  assay = NULL,
  region = "chr1-1-2000000",
  group.by = NULL,
  cells = NULL,
  log.scale = FALSE,
  ...
)

Arguments

object

A Seurat object

assay

Which assay to use. Default is the active assay.

region

Genomic range to use. Default is fist two megabases of chromosome 1. Can be a GRanges object, a string, or a vector of strings.

group.by

Name of one or more metadata columns to group (color) the cells by. Default is the current cell identities

cells

Which cells to plot. Default all cells

log.scale

Display Y-axis on log scale. Default is FALSE.

...

Arguments passed to other functions

Value

Returns a ggplot object

Examples

print("see https://satijalab.org/signac/reference/fragmenthistogram")

Honchkrow/SignacSlim documentation built on April 9, 2022, 1:49 a.m.