getSDY: Function loads hipc eset objects from rds files and performs...

Description Usage Arguments Value

Description

Function loads hipc eset objects from rds files and performs GE adjustment and subsetting, if directed via params.

Usage

1
2
getSDY(rds_data_dir, sdy, group, response, adjusted = FALSE,
  baselineOnly = FALSE)

Arguments

rds_data_dir

path to the directory containing the dataset .rds files

sdy

ImmuneSpace study id

group

sample subset to load, either young or old

response

HAI discrete variable to load into variable "Response". Responders are the samples in the last class, while non-responders are the samples in the first class. Samples from the intermediate class (if any) get an NA value.

adjusted

if TRUE, baseline expression data is adjusted for age (but NOT gender) with a linear regression model. (intercept + residual) are given as the adjusted values for the baseline data only and any other time points will have missing values (NA). Default is TRUE for Old subjects but FALSE for young or all subjects. NOTE: Behavior is different than in previous version!

baselineOnly

When 'TRUE', only baseline (day 0 or pre-vaccination) time points will be returned. Default is 'FALSE' for compatibility with previous versions.

Value

an ExpressionSet object with only one matrix in assayData. Which matrix depends on the combination of the group (age) and whether adjusted is set to TRUE or FALSE.


ehfhcrc/ImmSigPkg documentation built on May 16, 2019, 12:16 a.m.