load_cls {dslice} | R Documentation |
Load phenotype file
Description
Load phenotype file from .cls file
Usage
load_cls(file)
Arguments
file |
Name of .cls file which contains phenotypes of samples, separared by spaces. |
Value
A list with components:
pheotype |
Pheotype of samples |
value |
A vector with encoded value of pheotypes. If there is k pheotypes, it takes values |
Examples
# Pheotype files are available after registration at Broad institute GSEA website
# http://www.broadinstitute.org/gsea
## Not run:
filename <- "P53.cls"
label <- load_cls(filename)
## End(Not run)
[Package dslice version 1.2.2 Index]