remove_x: Remove leading X

View source: R/utilities.R

remove_xR Documentation

Remove leading X

Description

A convenience function to remove a leading capital X. Is case sensitive.

Usage

remove_x(x)

Arguments

x

character or string.

Value

Returns character or string with leading X removed.

Examples


df <- data.frame('X1'=c(1,2))

remove_x(colnames(df))


CambridgeCentreForProteomics/camprotR documentation built on July 7, 2024, 2:13 a.m.