A simple util function that used internally to generate display labels of GeneTrack and TxTrack.
strandlabel(labels, strands)
labels | Character vector, names of each feature. |
---|---|
strands | Factor or character vector with the same length of |
A character vector that combines the labels with strand information.
strandlabel(c("gene1", "gene2", "gene3"), c("+", "-", "*"))#> [1] "gene1 >" "< gene2" "gene3"