sp_read_in_long_wide_matrix: Used to read in long/wide format file or datafrmes. Wide...

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

Used to read in long/wide format file or datafrmes. Wide format would be transferred to lonf fromat.

Usage

1
sp_read_in_long_wide_matrix(data, xvariable, melted)

Arguments

data

Data frame or data file (with header line, the first column will not be treated as row names for long format matrix, tab seperated).

xvariable

Name for x-axis variable.

melted

TRUE for dealinig with long format matrix, the program will skip melt preprocess. Default FALSE for dealing with wide format matrix.

Value

a A long format dataframe

Examples

1
2
3
4
## Not run:
sp_read_in_long_wide_matrix(data, xvariable, melted)

## End(Not run)

Tong-Chen/YSX documentation built on Jan. 25, 2021, 2:49 a.m.