genes_score-methods {PFP} | R Documentation

## The score of genes in PFP class

### Description

This function extract the detail scores of every gene in the gene_list by specific condition.

### Usage

    genes_score(
      object,
      index = NULL,
      index_type = c("pathway_id", "pathway_name", "slice")
    )

    ## S4 method for signature 'PFP'
    genes_score(
      object,
      index = NULL,
      index_type = c("pathway_id", "pathway_name", "slice")
    )

### Arguments

`object,` | `PFP` class
`index,` | character, indicating the groups to subset.
`index_type,` | "pathway_id","pathway_name","slice"

### Value

a named vector of numeric scores

### See Also

`PFP-class`

### Examples

    data(PFP_test1)
    genes_score <- genes_score(PFP_test1)

[Package PFP version 1.0.0 Index]