splitNames: Split the names when separated by ;

Description Usage Arguments Details Examples

View source: R/quantifyViaLoadings.R

Description

The function splitNames creates a ";"-separated list of feature names. If na.rm = TRUE, the NA values within the feature names are removed. NA values might occur if feature names are translated from one id to the other, e.g. from SYMBOL to Ensembl.

Usage

1
splitNames(feature_names, na.rm = TRUE)

Arguments

feature_names

character

na.rm

logical(1)

Details

Helper function for various functions in the apoptosisQuantification package.

Examples

1
2
3
4
5
protein_names <- c("prot_1;prot_2;NA")
apoptosisQuantification:::splitNames(feature_names = protein_names,
    na.rm = FALSE)
apoptosisQuantification:::splitNames(feature_names = protein_names,
    na.rm = TRUE)

tnaake/apoptosisQuantification documentation built on Feb. 20, 2022, 5:37 p.m.