fetchGeneOrHairpin: Process string to extract shRNA or gene

Description Usage Arguments Value

View source: R/doDE_helper_functions.R

Description

shRNA-gene character is split on "-" and gene or shRNA are returned based on parameter entity.

Usage

1
fetchGeneOrHairpin(x, entity = c("shrna", "gene"))

Arguments

x

Character. A vector of shRNA-gene names.

entity

Character. Return either shRNA ("shrna") or gene ("gene").

Value

Depending on which entity is chosen, shRNA part or gene part are returned.


genialis/shRNAde documentation built on Dec. 7, 2018, 8 a.m.