UnflattenDataframe: Convert dataframe to matrix, specifying all column names

View source: R/annotate_nmf.R

UnflattenDataframeR Documentation

Convert dataframe to matrix, specifying all column names

Description

Convert dataframe to matrix, specifying all column names

Usage

UnflattenDataframe(df, output.name, row.col = "Gene", col.col = "Group")

Arguments

df

Dataframe

output.name

Column of df to use as matrix values

row.col

Column of df to use as matrix rows

col.col

Column of df to use as matrix columns

Value

Matrix


yanwu2014/swne documentation built on Aug. 5, 2023, 4:42 a.m.