Function that allows for the renaming of the columns of the counts table in a DEprot object.

rename.samples(DEprot.object, metadata.column = "column.id")

Arguments

DEprot.object

An object of class DEprot.

metadata.column

A string indicating any column from the metadata table to use to rename the counts table columns. Default "column.id" (no renaming).

Value

An object of class DEprot (S4 vector). A column called old.column.id will be added to the metadata in order to keep track of the original names.