extractPhentypeFromSE: Extract a single phenotype from a SummarizedExperiment...

View source: R/SummarizedExperiment_helpers.R

extractPhentypeFromSER Documentation

Extract a single phenotype from a SummarizedExperiment object.

Description

Produces a single data frame where phenotype values have been joined into a single data frame with sample metadata.

Usage

extractPhentypeFromSE(phenotype_id, se, assay)

Arguments

phenotype_id

Id of the phenotype to be extracted

se

SummarizedExperiment object

assay

Name of the assay in the SummarizedExperiment object.

Value

Data frame with phenotype values and sample metadata.


kauralasoo/eQTLUtils documentation built on March 12, 2023, 8:50 p.m.