setClinical: Title Set Clinical Data

Description Usage Arguments Value Author(s) Examples

View source: R/study.R

Description

Title Set Clinical Data

Usage

1
setClinical(study, clinicals)

Arguments

study

a Study object

clinicals

a list of clinical data.frame. The length of clinicals, if none empty, must equal the length of the datasets. And clinical[[i]] is the clinical data for datasets[[i]]. Each clinical data.frame has row names corresponding to sample ID, and column names corresponding to clinical recording. And all samples in the corresponding dataset should have a clinical while clinical data can contain more then samples' clinical data.

Value

a study with updated clinical data

Author(s)

Schwannden Kuo

Examples

1
2
3
data(preproc.option)
study <- new("Study", name="test", dtype=DTYPE.microarray, datasets=list(matrix()))
setClinical(study, list())

metaOmic/preproc documentation built on April 10, 2018, 1:25 a.m.