print_interactions {OmnipathR} | R Documentation

## print interactions

### Description

prints the interactions/ptms in a nice format

### Usage

    print_interactions(interDF, writeRefs = FALSE)

### Arguments

`interDF` | data.frame with the interactions generated by any of the following functions: `import_omnipath_enzsub`, `import_omnipath_interactions`, `import_pathwayextra_interactions`, `import_kinaseextra_interactions`, `import_ligrecextra_interactions`, `import_dorothea_interactions`, `import_mirnatarget_interactions` or `import_all_interactions`
`writeRefs` | [FALSE] writes also the PubMed IDs if available

### Value

Interactions displayed in a nice format

### Examples

    ptms = import_omnipath_enzsub()
    print_interactions(head(ptms))
    print_interactions(tail(ptms),writeRefs=TRUE)
    print_interactions(dplyr::filter(ptms,enzyme_genesymbol=="MAP2K1",
      substrate_genesymbol=="MAPK3"))

[Package OmnipathR version 2.0.0 Index]