extract_pca_x: Return PCA-projected data from a result-list

View source: R/helpers.r

extract_pca_xR Documentation

Return PCA-projected data from a result-list

Description

Return PCA-projected data from a result-list

Usage

extract_pca_x(object, dataset)

Arguments

object

The list of results returned by get_result

dataset

The name of the dataset you want to extract the PC coordinates - optional, and if omitted all datasets will be reported.

Details

Traverse an object returned by get_result, and extract the expression projected onto PC space. The models, and comparisons within those, should all have the same projections, so the results are aggregated to the level of 'dataset'

Value

A DataFrame of PC coordinates for each dataset specified

Author(s)

Gavin Kelly


FrancisCrickInstitute/DESdemonA documentation built on Jan. 2, 2023, 8:08 p.m.