abbreviate_effect: Abbreviate SV Effects

Description Usage Arguments Value Examples

View source: R/sv.R

Description

Abbreviates SV effects column.

Usage

1

Arguments

effects

Input string with effects.

Value

An abbreviated string.

Examples

1
2
3
4
(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 Nov. 25, 2021, 1:15 p.m.