summary_aggregated_data: summarize aggregated data.

Description Usage Arguments Value Author(s)

Description

summarize aggregated data. Summarize the information that is important for mETABOX statistical analysis, e.g. factor_name, repeated.factor_name, etc.

Usage

1
summary_aggregated_data(aggregated_data, factor_name, repeated.factor_name)

Arguments

factor_name

The factor names that are related to the study design. factor_name must be one of the column name of the "phenotype" dataframe. Although the default is NULL, it shouldn't be NULL for mETABOX statistical analysis.

aggregated_data

an list with three dataframes named as "expression", "feature" and "phenotype". Or simply a object returned from load_aggregated_data().

repeated.factor_name

The repeated factor name indicates which factor is repeated measure. Must be one of the factor_name. If NULL means that it is independed study design.

Value

a list. If the input aggregated_data is not standard, then it returns a warning message telling user to upload needed file. dataset(list), factor_name(vector of string), repeated.factor_name(vector of string), confound(vector which is a variable), batch(vector which is a variable of factor)

Author(s)

Sili Fan fansili2013@gmail.com


kwanjeeraw/metabox documentation built on May 20, 2019, 7:07 p.m.