genes_regex: Create a single regex of all cancer-related gene symbols

Description Usage Arguments Value Examples

View source: R/genes_regex.R

Description

'genes_regex()' produces a regular expression of over 900 HGNC gene names

Usage

1
genes_regex(file = readr::read_tsv("data-raw/genes.txt"))

Arguments

file

File of gene symbols. Default imports csv file from data-raw containing over 900 gene symbols. Required

Value

a single cell string with all gene symbols concatenated by a pipe ("|")

Examples

1
2
3
#Import "genes" data set from package
genes %>%
genes_regex()

TheMillerLab/genetex documentation built on Dec. 18, 2021, 4:09 p.m.