R: Function to classify the unsupervised clusters found through...
goodAndPoorClassification
R Documentation
Function to classify the unsupervised clusters found through a
classification procedure in good and poor groups of samples.
Description
This function label the groups found by the unsupervised classification in good and poor.
Usage
goodAndPoorClassification(clustering)
Arguments
clustering
factor of so many elements as the number of samples containing the classification in two groups. Missing values are allowed.
Details
The labelling of the two groups in good and poor is obtained through the comparion of the expected and the observed failures computed in the test statistics of the log-rank test. The group for which the expected are more than the observed are classified are good prognosis. The variable stData has to be defined in the environment.
Value
A factor with levels "good" and "poor".
Author(s)
Stefano M. Pagnotta, Michele Ceccarelli and Pietro Zoppoli