addStepping: Add stepping for plotting genes

addSteppingR Documentation

Add stepping for plotting genes

Description

Given a GRanges dataset representing genes, will add an arbitrary value for them to be plotted in the Y axis without overlapping each other.

Usage

addStepping(genesDat, coordinates, mcol.name)

Arguments

genesDat

GRanges object containing gene information.

coordinates

GRanges object with coordinates you want to plot.

mcol.name

Integer containing the column number that contains the gene name.

Value

Calculates the stepping position to avoid overlap between genes.


Pasquali-lab/UMI4Cats documentation built on Nov. 3, 2024, 3:10 p.m.