R/recreate.pathway.R

recreate.pathway <- function(setup, pathway){
  
  setup$super.pathway <- setup$pathway
  npath <- length(pathway)
  path <- list()
  for(i in 1:npath){
    path[[i]] <- setup$super.pathway[setup$super.pathway$Gene %in% pathway[[i]][, 'Gene'], ]
  }
  setup$pathway <- path
  setup
  
}

Try the ARTP2 package in your browser

Any scripts or data that you put into this service are public.

ARTP2 documentation built on May 2, 2019, 3:38 p.m.