formatXY: Formating XY label

Description Usage Arguments Details Author(s) See Also Examples

Description

Add "0" in characters where should be added, inorder to make the character labels sortable.

Usage

1

Arguments

x

A character vector containing the labels in "XnYm" format

Details

This function will add "0" before the number 'n' if it has fewer characters than the number that has more characters in the same position. Only then the elements "XnYm" in the label vector could be sorted.

Author(s)

Jinlong Zhang jinlongzhang01@gmail.com

See Also

imagevect

Examples

1
formatXY(c("X1Y1","X33Y567"))


Search within the phylotools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.