Skip to contents

Display links between pairs of genomic elements within a given region of the genome.

Usage

LinkPlot(
  object,
  region,
  key,
  assay = NULL,
  min.cutoff = 0,
  extend.upstream = 0,
  extend.downstream = 0,
  scale.linewidth = FALSE
)

Arguments

object

A SeuratObject::Seurat() object

region

A genomic region to plot

key

Key to use when extracting link information from the Seurat object

assay

Name of assay to use. If NULL, use the default assay.

min.cutoff

Minimum absolute score for link to be plotted.

extend.upstream

Number of bases to extend the region upstream.

extend.downstream

Number of bases to extend the region downstream.

scale.linewidth

Scale thickness of the line according to link score.

Value

Returns a ggplot2::ggplot() object