Skip to contents

This function converts a matrix to a dataframe, adds row names as the first column, and binds it with annotation data.

Usage

bind_data_with_annotation(data, annotation = NULL)

Arguments

data

A matrix containing the numeric data.

annotation

A dataframe containing the annotation information.

Value

A dataframe with `data` and `annotation` combined, and the row names of `data` as the first column named `feature_names`.