Learn R Programming

PGSEA (version 1.46.0)

writeSmc: writeSmc

Description

This function will write out SMC objects to individual text files

Usage

writeSmc(x)

Arguments

x
an object of class SMC

Details

The file name is determined by the reference slot of the SMC object.

See Also

writeSmc

Examples

Run this code

datadir <- system.file("extdata", package = "PGSEA")
sample <- readGmt(file.path(datadir, "sample.gmt"))
str(sample)
sample[[1]]@reference <- "fileName"

## Not run: 
# 	writeSmc(sample[[1]])
# ## End(Not run)



Run the code above in your browser using DataLab