subsetXeva: Subset Xeva object.

View source: R/subset_Xeva.R

subsetXevaR Documentation

Subset Xeva object.

Description

Subset Xeva object.

Usage

subsetXeva(object, ids, id.name, keep.batch = TRUE)

Arguments

object

The XevaSet object.

ids

IDs to be selected for.

id.name

Names of the IDs.

keep.batch

Default TRUE. If FALSE, remove all other model.ids from the experiemt design that do not belong to selection.

Value

New Xeva object.

Examples

data(brca)
print(brca)
df <- subsetXeva(brca, ids = c("X-1004", "X-1008", "X-1286"), id.name="patient.id", keep.batch=TRUE)
print(df)

bhklab/Xeva documentation built on Nov. 12, 2022, 5:38 a.m.