Learn R Programming

PATHChange (version 1.0)

PATHChangeList: PATHChangeList

Description

This function reads the file 'filePathway.txt' to organize the pathways separately in lists.

Usage

PATHChangeList(filePathway, writeRDS, destDIR)

Arguments

filePathway
The 'filePathway.txt' file.
writeRDS
TRUE for write a .rds file result
destDIR
Destination folder for .rds file.

Value

path
An object of class "list" is returned and saved in "rds" format.

Examples

Run this code
# For Ontocancro pathways, you can download a file with all pathways from 
# http://ontocancro.inf.ufsm.br/download/BigPathways.zip

filePathway<-system.file("extdata", "BigPathways.txt", package = "PATHChange")

PATHChangeList(filePathway = filePathway, writeRDS = FALSE)
require(rlist)
path <- list.load(file.path(tempdir(),"path.rds"))

Run the code above in your browser using DataLab