transpose_expdata: helper function to transpose a dataframe of expression data...

Description Usage Arguments Value

Description

Additionally, while data are in matrix form, one can apply a transformation function more efficiently than while operating on the full dataframe. Thus, 'trans' is supported.

Usage

1
transpose_expdata(df, trans = NULL, current_colname, current_rowname)

Arguments

df

(tbl_df or data.frame) containing expression data to be transposed

trans

(function) optional function to apply to expression data during transpose

current_colname

(string) name of field to create after transform, holding values of current colnames

current_rowname

(string) name of field existing in df, holding current rownames

Value

transposed df, of type tbl_df


hammerlab/rinfino documentation built on May 27, 2019, 8:45 a.m.