readSmc: Read SMC files

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/PGSEA.R

Description

This function reads in SMCs (simple molecular concepts) from individual text files.

Usage

1

Arguments

files

a character vector of file names

Value

A list of SMC objects

Author(s)

Kyle Furge <kyle.furge@vai.org> and Karl Dykema <karl.dykema@vai.org>

References

??

See Also

writeSmc

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
datadir <- system.file("extdata", package = "PGSEA")
sample <- readGmt(file.path(datadir, "sample.gmt"))
str(sample)
sample[[1]]@reference <- "fileName"

## Not run: 
	writeSmc(sample[[1]])
	smc <- readSmc("fileName-0.txt")

## End(Not run)

PGSEA documentation built on April 28, 2020, 8:28 p.m.