A RAV model contain clusters of PCs from individual studies. This function extracts the names of the original PCs from the RAV model given the index in the RAV model.

PCinRAV(RAVmodel, ind)

Arguments

RAVmodel

A PCAGenomicSignatures object

ind

An index of RAV

Value

A character vector of PC/study names

Examples

data(miniRAVmodel)
PCinRAV(miniRAVmodel,695)
#> [1] "ERP112751.PC1" "SRP103099.PC4"