topLeverage: Function to obtain indexes of the most influental features...

Description Usage Arguments Value References Examples

Description

The function sort the features (rows or columns) based on their influence (leverage score) and list out the indexes of the top valued items

Usage

1
topLeverage(object, C=TRUE, top.n=100, sort=TRUE)

Arguments

object

object of class CURobj-class

C

logical, if it is TRUE, then calculated the rank for the leverage scores belongs to columns, if FALSE, then to rows

top.n

number of indexes to list

sort

logical, if TRUE the indexes are sorted increasing

Value

The function returns a numerical vector of indexes of the most influental features

References

Mahoney M. W. and Drineas P. (2009) CUR matrix decompositions for improved data analysis. PNAS, 106(3):697-702

Andras Bodor, Istvan Csabai, Michael W Mahoney and Norbert Solymosi rCUR:an R package for CUR matrix decomposition BMC Bioinformatics 2012, 13:103 doi:10.1186/1471-2105-13-103

Examples

1
2
3
data(STTm)
res <- CUR(STTm, 3, 31, 12)
topLeverage(res, top.n=10)

rCUR documentation built on May 2, 2019, 2:21 a.m.