refine_mappings {KEGGlincs} | R Documentation

## Refine pathway by cell type

### Description

Reduce the KEGG pathway by only including genes that are expressed within a given cell type

### Usage

    refine_mappings(KEGG_mappings, cell_line)

### Arguments

`KEGG_mappings` | The data.frame object generated by the function expand_KEGG_mappings
`cell_line` | Choose from the set of cell lines with baseline data; cell-lines may or may not have corresponding KO data

### Value

A dataframe object with reduced set of pathway mappings to be passed on to other functions

### Examples

    p53_KGML <- get_KGML("hsa04115")
    p53_KEGG_mappings <-  expand_KEGG_mappings(p53_KGML)
    MCF7_p53_mappings <- refine_mappings(p53_KEGG_mappings, "MCF7")

[Package KEGGlincs version 1.8.0 Index]