matrix_to_df: Transform a matrix to a data.frame.

View source: R/utility_functions.R

matrix_to_dfR Documentation

Transform a matrix to a data.frame.

Description

Transform a matrix to a data.frame.

Usage

matrix_to_df(matrix_in, value_name = "Freq")

Arguments

matrix_in

A matrix to transform.

value_name

A string indicating how to name the value column.

Value

A 3-columns data.frame


eMetaboHUB/MS-CleanR documentation built on Jan. 3, 2024, 8:55 p.m.