A function for creating a factor from the phenoData slot of an exprSet
一个功能,为创建一个因素从一个exprSet phenoData插槽
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function creates a factor whose levels represent the different classes for a classification problem. It is derived from the column specified in the argument class.column. If the factor has more than two levels, the argument reference.class can be used to transform this into a two-class problem: reference class
这个函数创建一个因素,其水平代表不同类别的分类问题。这是来自参数class.column在指定的列。如果因素有两个以上的水平,参数reference.class可以用来转化为这两个类的问题:引用类
参数:class.column
either a number or a character string specifying the relevant column of the phenoData slot in x
无论是数字或字符串,指定有关的phenoData插槽列在x
参数:reference.class
character vector. If specified the result will be a factor with only 2 levels: the reference class(es) versus all other
特征向量。如果指定的结果将是一个只有2水平的因素:参考类(ES)与所有其他
值----------Value----------
A factor of length nrow(pData(x))
因素的长度NROW的(PDATA(X))
作者(S)----------Author(s)----------
Markus Ruschhaupt <a href="mailto:m.ruschhaupt@dkfz.de">mailto:m.ruschhaupt@dkfz.de</a>