S4 method for colnames that returns the column names of a qseaSet's sample metadata table (i.e., qsea::getSampleTable()).

# S4 method for class 'qseaSet'
colnames(x)

Arguments

x

qseaSet. The qseaSet object whose sampleTable column names are to be retrieved.

Value

character(). A character vector containing the column names of the sample table.

Examples

data(exampleTumourNormal, package = "mesa")

# Retrieve the column names of the sample metadata
colnames(exampleTumourNormal)
#> [1] "sample_name" "group"       "patient"     "type"        "tumour"     
#> [6] "tissue"      "age"         "gender"      "stage"