R/MSstats_functions.R
artmsChangeColumnName.Rd
Making easier to change a column name in any data.frame
artmsChangeColumnName(dataset, oldname, newname)
dataset | (data.frame) with the column name you want to change |
---|---|
oldname | (char) the old column name |
newname | (char) the new name for that column |
(data.frame) with the new specified column name
artms_data_ph_evidence <- artmsChangeColumnName( dataset = artms_data_ph_evidence, oldname = "Phospho..STY.", newname = "PH_STY")