Extract information on a specific training dataset

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")
#> $studyTitle
#> [1] "Transcriptomic analysis of ERR alpha orphan nuclear receptor"
#> 
#> $studySize
#> [1] 73
#> 
#> $RAVs
#>   PC  RAV Variance explained (%)
#> 1  1  725                  28.60
#> 2  3 1076                   2.74
#>