README.md

KeyPathwayMineR - R package

Given a biological network and a set of case-control studies, KeyPathwayMiner(KPM) efficiently extracts all maximal connected sub-networks. These sub-networks contain the genes that are mainly dysregulated, e.g., differentially expressed, in most cases studied:

Two different approaches for extracting subnetworks that are enriched for active/deregulated genes have been implemented:

For more information on the R package, please check the following reference:

KeyPathwayMineR: De Novo Pathway Enrichment in the R Ecosystem

Overview

* Purpose * Prerequisites * Get started * Users * Developers * Cite KeyPathwayMineR * Common problems

Purpose

The following package provides an easy way for using KPM and visualize the extracted subnetworks via R. The user can decide whether he wants to call KPM on his computer (via standalone) or with the Web API. With the kpm_options() object the arguments for the execution of the program can be easily processed and viewed.

Prerequisites

KeyPathwayMineR uses the rJava library to run the local (Java - standalone) version of KPM. This package allows us to utilize the different functions from the standalone jar needed to run KeyPathwayMiner. To use this functionality, you should run Java 1.8 or higher on your machine.

To use all the additional functionalities of the package make sure to install the following bioconductor packages:

if (!require("BiocManager", quietly = TRUE))
      install.packages("BiocManager")
BiocManager::install(pkgs = c("simpIntLists","SummarizedExperiment", "MAST"))

Get started

Once your R client has been successfully configured you can start using the package.

Users

KeyPathwayMiner is currently available on github and can be installed through the devtools R package:

# Install KeyPathwayMineR from github and build vignettes
if (!requireNamespace("devtools", quietly = TRUE)) install.packages("devtools")
devtools::install_github("baumbachlab/keypathwayminer-R", build_vignettes = TRUE)

# Load and attach KeyPathwayMineR 
library("KeyPathwayMineR")

If the initialization was successful you will get following output:

#> Loading required package: rJava
#> Standalone jar added to class path:  TRUE
#> Utils: The Java virtual machine is available and has the correct version.
#> KeyPathwayMineR ready for local and remote execution.

When everything is set up you can get started with the following vignette:

vignette("KeyPathwayMineR")

Developers

If you want to play around or work on the code you can clone the repo:

git clone https://github.com/baumbachlab/keypathwayminer-R.git

Opent the KeyPathwayMineR.Rproj file to open the package. To get started install the following libraries:

install.packages(c("devtools", "roxygen2", "testthat", "knitr"))

Cite KeyPathwayMineR

To cite KeyPathwayMineR in publications, please use:

Konstantinos Mechteridis, Michael Lauber, Jan Baumbach, and Markus List. KeyPathwayMineR: De Novo Pathway Enrichment in the R Ecosystem. Frontiers in Genetics, 12, 2022.

or use following command to get a BibTeX entry:

citation("KeyPathwayMineR")

Common problems

If any other problems occur consider creating an issue. [CREATE ISSUE]



baumbachlab/keypathwayminer-R documentation built on June 29, 2023, 11:21 a.m.