only support continuous phenotype for now

write_cls(phenotype, path)

Arguments

phenotype

tibble. usually the return value of make_phenotype

path

string. path to output file

Value

logical scalar

Details

Although GSEA doesn't require every variable in a .cls file to be the same length, I do. Since they should be used with the same expression data (such as GSE008.txt + GSE008.chip + GSE008.cls, on the other hand, let GSE006.txt and GSE007.txt use different variable in the same .cls file is definitely insane)

Examples

`NULL`
#> Error in eval(expr, envir, enclos): object 'NULL' not found