clean_genes: Cleans a vector of genes

Description Usage Arguments Value See Also Examples

Description

clean_genes reads in the gene variable from the variant file and removes any additional info between parantheses.

Usage

1
clean_genes(gene_vec)

Arguments

gene_vec

The atomic vector containing the annotated genes.

Value

character A clean version of the genes vector.

See Also

gsub.

Examples

1
2
3
4
## Not run: 
clean_genes(vars$gene) # assumes you have a vars data frame

## End(Not run)

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