l2p
List to pathway, or l2p
, is an R package for the gene set enrichment that is optimized for speed!
Installation
To install l2p
from command-line, please run the following command:
# Get l2p from Github
wget https://github.com/CCBR/l2p/raw/master/l2p_0.0-3.tar.gz
# Install as a site package
R CMD INSTALL l2p_0.0-3.tar.gz
Please note:
l2p
can also be installed inside an R console or RStudio. Please run the following command to installl2p
within R:
install.packages("https://github.com/CCBR/l2p/raw/master/l2p_0.0-3.tar.gz", repos=NULL)
Example Usage:
library(l2p)
genes <- c("TP53", "PTEN", "APC")
x = l2p(as.vector(genes))
options(max.print=1000000)
options(width=10000)
print(x)