Search the top enriched pathways for RAV

annotateRAV(RAVmodel, ind, n = 5, abs = FALSE)

Arguments

RAVmodel

PCAGenomicSignatures object.

ind

An integer for RAV you want to check the enriched pathways.

n

A number of top enriched pathways to output. Default is 5.

abs

Default is FALSE. If it's set to TRUE, the enriched pathways will be listed based on abs(NES).

Value

A data frame with n rows and 4 columns; Description, NES, pvalue, and qvalues

Examples

data(miniRAVmodel)
annotateRAV(miniRAVmodel, ind = 695)
#>                 Description      NES pvalue     qvalues
#> 1 IRIS_Bcell-Memory_IgG_IgA 2.718221  1e-10 5.74269e-09
#> 2              DMAP_BCELLA3 2.682973  1e-10 5.74269e-09
#> 3          IRIS_Bcell-naive 2.681921  1e-10 5.74269e-09
#> 4     IRIS_Bcell-Memory_IgM 2.676957  1e-10 5.74269e-09
#> 5              DMAP_BCELLA2 2.653428  1e-10 5.74269e-09