Build plot positions for a character vector
build_vec_pos(vec, vec_name = "gene_name", sort = "none", axis_name = "y")
Arguments
- vec
a character vector (like gene names)
- sort
how to resort the vector, if necessary. Default is "none", which keeps input order.
Options: "none","rev","random","alpha".
- axis_name
which axis to use. Default is "y"
Value
a data.frame with columns for gene_name and axis values