prepPathListForSave: prepPathListForSave()

Description Usage Arguments Value Examples

View source: R/pathway_functions.R

Description

preps paths in gene-set format (list with names=path names and values = vector of gene names) for saving as a tab delimited file

Usage

1
prepPathListForSave(gset, path_source = "Reactome pathway")

Arguments

gset

The list object of paths

path_source

A string desribing the source of the pathways, to be pasted as the second element in each line of the output in the manner as "Reactome pathway" is seen here: Abacavir metabolism Reactome pathway UniProt:P49902 UniProt:Q16774

Value

one column matix, with each row containing the tab-delimited set: path name, path source and path members

Examples

1
2
library(graphite)
plistsAsDataFrame = prepPathListForSave(gset=reactome, path_source="Reactome pathway")

biodev/packageDir documentation built on Nov. 4, 2019, 7:19 a.m.