Description Usage Arguments Details Value Author(s) See Also
View source: R/import.gsea.cls.R
Import a GenePattern cls file into R. CLS files can either be categorical, or continuous & both can be handled by this code.
1 | import.gsea.cls(file, as.factor = TRUE, enforce.zero.start = TRUE)
|
file |
the path to a valid cls file. |
as.factor |
logical: return a character, or factor? |
enforce.zero.start |
logical: check that the lowest class is 0. See details. |
The cls file spec says for catgegorical cls files, values should start from 0.
However some tools (eg SubMap) require them to start from 1. enforce.zero.start
allows control over these situations.
if cls file is continuous, either a character vector, or factor, one element per sample, of if continuous, a numeric is returned.
Mark Cowley, 2009-11-26
import.gsea.gct
import.gsea.clm
http://www.broadinstitute.org/cancer/software/genepattern/tutorial/gp_fileformats.html#cls
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.