abbreviate_effect: Abbreviate SV Effects

View source: R/sv.R

abbreviate_effectR Documentation

Abbreviate SV Effects

Description

Abbreviates SV effects column.

Usage

abbreviate_effect(effects)

Arguments

effects

Input string with effects.

Value

An abbreviated string.

Examples

(e1 <- gpgr:::abbreviate_effect("3_prime_UTR_truncation&start_lost&splice_region_variant"))
(e2 <- gpgr:::abbreviate_effect("duplication&foo&gene_fusion&BOOM&intron_variant"))
(e3 <- gpgr:::abbreviate_effect("TF_binding_site_variant&TFBS_ablation"))
(e4 <- gpgr:::abbreviate_effect("foo&bar&stop_gained&badaboom"))

umccr/gpgr documentation built on April 21, 2024, 1:16 a.m.