R/create.super.pathway.R

create.super.pathway <- function(pathway){
  
  super.pathway <- NULL
  npath <- length(pathway)
  header <- c("SNP", "Gene", "Chr")
  
  for(i in 1:npath){
    super.pathway <- rbind(super.pathway, pathway[[i]][, header])
  }
  
  super.pathway <- super.pathway[!duplicated(super.pathway), ]
  super.pathway
  
}

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.