UnflattenDataframe: Convert dataframe to matrix, specifying all column names

Description Usage Arguments Value

View source: R/annotate_nmf.R

Description

Convert dataframe to matrix, specifying all column names

Usage

1
2
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 Dec. 7, 2018, 8:55 a.m.