Learn R Programming

mseapca (version 2.0.3)

list2xml: Save compound set as XML file

Description

This function save compound set of list format as XML file.

Usage

list2xml(filepath, M)

Value

filepath of saved XML file

Arguments

filepath

filepath of XML file to save

M

list fomat of compound set and compound names

Author

Hiroyuki Yamamoto

Details

This function is used to store a compound set. Saved xml file can be read using the read_pathway function.

Examples

Run this code
if (FALSE) {
	data(pathway)
	M <- pathway$fasting
	xml_file <- "pathway_fasting.xml"
	N <- list2xml(xml_file, M)
	# XML::saveXML(N,filepath)
	}

Run the code above in your browser using DataLab