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("+", "-", "*"))

TnT documentation built on Nov. 8, 2020, 8:11 p.m.