cleanColname: Clean the supplied string from punctuations and spaces.

Description Usage Arguments Value See Also Examples

View source: R/hiAnnotator.R

Description

Function to clean the supplied string from punctuations and spaces so it can be used as column headings.

Usage

1
cleanColname(x, description = NULL)

Arguments

x

string or a vector to be cleaned.

description

OPTIONAL string identifying the purpose of the supplied string in x to be displayed in the cleaning message. This triggers a message.

Value

cleaned string or a vector.

See Also

getFeatureCounts, makeGRanges, getNearestFeature, getSitesInFeature.

Examples

1
2
3
cleanColname("HIV-test")
cleanColname("HIV*test")
cleanColname("HIV-test", "myAlias")

hiAnnotator documentation built on Nov. 8, 2020, 7:27 p.m.