strandlabel: Display Labels with Strand

Description Usage Arguments Value Examples

Description

A simple util function that used internally to generate display labels of GeneTrack and TxTrack.

Usage

1
strandlabel(labels, strands)

Arguments

labels

Character vector, names of each feature.

strands

Factor or character vector with the same length of labels, can be "+", "-" or "*".

Value

A character vector that combines the labels with strand information.

Examples

1
strandlabel(c("gene1", "gene2", "gene3"), c("+", "-", "*"))

Marlin-Na/TnT documentation built on Jan. 31, 2020, 7:43 a.m.