R: Remove the gene with the lowest importance from a signature
removeGeneFrom
R Documentation
Remove the gene with the lowest importance from a signature
Description
This function implements a pruning algorithm devoted to remove the
gene with the lowest importance from the signature. The importances have
to be computed before calling this function. The gene with the
lowest importance is removed and the set of importances are computed again. The
function is designed to be used iteratively so that all the genes with
importance below a cutoff value are removed. If the signature has the results
of the testGEL() function just computed, they are removed.
Usage
removeGeneFrom(aSignatureFinder, cutoff = 0)
Arguments
aSignatureFinder
Structure as results from the function
signatureFinder()
cutoff
is a real value used when the function works iteratively
Value
The function return NULL when no gene is removed, otherwise return a
structure as results from the importance() function with the additional slots
removedGene
list of genes (as string) removed from the signature