print_interactions: print interactions

Description Usage Arguments Value Examples

View source: R/print_interactions.R

Description

prints the interactions/ptms in a nice format

Usage

1
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

1
2
3
4
5
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"))

OmnipathR documentation built on Nov. 8, 2020, 8:10 p.m.