shorten_region: Shorten region column from variant file

Description Usage Arguments Value See Also Examples

Description

shorten_region shortens the region column from the variant file in order to print results in a more efficient manner.

Usage

1
shorten_region(region_vec)

Arguments

region_vec

The character vector containing region values.

Value

A character vector with shortened region values.

See Also

mapvalues

Examples

1
2
3
4
5
## Not run: 
tmp <- shorten_region(vars$region)
table(tmp, useNA = "ifany")

## End(Not run)

bahlolab/varpr documentation built on May 11, 2019, 5:26 p.m.