getStudyInfo: Extract information on a specific training dataset

View source: R/getMetadata.R

getStudyInfoR Documentation

Extract information on a specific training dataset

Description

Extract information on a specific training dataset

Usage

getStudyInfo(RAVmodel, study)

Arguments

RAVmodel

A PCAGenomicSignatures object

study

A character for SRA study accession.

Value

A list with three elements: studyTitle, studySize (the number of samples from this study used in the RAVmodel building), and RAVs. 'RAVs' is a data frame with three columns - PC (1 to 20), RAV (RAV that the given PC belongs to), and Variance explained ( miniRAVmodel, which doesn't have all the PCA summary information, so the example will return only the two PCs of the study instead of all twenty.

Examples

data(miniRAVmodel)
getStudyInfo(miniRAVmodel, "SRP028155")


shbrief/PCAGenomicSignatures documentation built on May 3, 2023, 11:21 a.m.