sample_id {geneExpression} | R Documentation |
sample_id(x,
sample.ids = NULL);
it is kind of colnames
liked function for dataframe object.
this function will get sample_id character vector from the input matrix if the `sample_ids` parameter is missing, otherwise it will set the new sample id list to the input matrix object and return the modified matrix object. if the input `x` object is not a valid gene expression matrix object, then a error message object will be returned.