goodAndPoorClassification: Function to classify the unsupervised clusters found through...

Description Usage Arguments Details Value Author(s) Examples

Description

This function label the groups found by the unsupervised classification in good and poor.

Usage

1

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(geNSCLC)
geData <- geNSCLC

data(stNSCLC)
stData <- stNSCLC
######################
randomClustering  <- runif(nrow(stData)) > .5
survdiff(stData ~ randomClustering)
###############
clusteringByPrognosis <- goodAndPoorClassification(randomClustering)
survdiff(stData ~ clusteringByPrognosis)

geneSignatureFinder documentation built on May 2, 2019, 2:32 p.m.