extract_assay: Data extraction from "MultiAssayExperiment" object

Description Usage Arguments Value Author(s) Examples

View source: R/extract_assay.R

Description

Extraction of individuals according to user supplied group and Assay

Usage

1
2
extract_assay(name, Assay, groups, groupinfo = NULL,
addgroupnames = TRUE)

Arguments

name

name of the "OMICs" object from which data is to be retrieved.

Assay

name of the "Assay" from which data is to be retrieved.

groups

name of the "groups" from which data is to be retrieved.

groupinfo

output of create_group() or similar object

addgroupnames

logical argument. If "TRUE", adds the group membership info of returned individuals

Value

a data frame containing the intended information

Author(s)

Subhadeep Das

Examples

1
2
3
4
x <- extract_assay(name = multi_assay, Assay = "H2az",
groups = c("WE","RE"), groupinfo = groupinfo_ext)

x

OMICsPCA documentation built on Nov. 8, 2020, 5:01 p.m.