getR: Retrieve matrix R from CURobj-class

Description Usage Arguments Value References Examples

Description

Retrieve matrix R from CURobj-class

Usage

1
	getR(object)

Arguments

object

object of class CURobj-class

Value

a matrix with compontent R of CUR

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, 31, 12, 3)
getR(res)

Example output

Loading required package: MASS
Loading required package: Matrix
Loading required package: lattice
        GIST    GIST       GIST     GIST     GIST    GIST     GIST     GIST
516  -0.9972 -1.9760 -2.1630000  0.15390 -0.32450 -0.7085 -0.73660 -0.20110
857  -1.8920 -2.2480 -2.4860000 -0.55850 -2.13100 -3.4340 -2.76300 -1.52800
980  -1.2550 -0.9360 -0.8126000 -1.56000 -2.08300 -1.1600 -0.87250 -3.07500
2036  1.0360 -0.0228  0.0338000 -0.70130 -0.09490 -0.0678 -0.16654 -0.03170
2290 -0.9119  0.5926 -0.1268000 -1.74900 -0.66080 -1.6630 -1.02300  0.67280
2319  0.6203 -0.5351 -0.9497000 -0.56281 -1.14200  0.2003 -0.69030 -0.76330
2640 -1.4530  0.8387  0.3853000 -3.01000 -0.68460  0.1094  0.22918 -0.26870
2789 -2.2340 -0.8730 -0.2680556 -0.50680  0.51440 -0.0063 -0.18810 -0.33400
2840 -2.4230 -0.3801  0.0175000  0.18850 -0.31070 -0.9376 -1.00400 -0.35330
2848 -0.1040  1.6810  1.7460000 -0.55110 -0.29150 -1.1080 -0.87220 -0.00970
3630 -1.1910 -0.9415 -1.9230000 -1.18100 -0.43850 -2.5690 -0.78980 -0.18830
3714 -1.3020 -1.0590  0.5853400  0.10008 -0.01723 -0.3470 -0.74480 -0.52220
4357  1.3230  1.5330  1.9570000  0.78130  1.46600  1.2170  0.88880  1.13700
4488  1.1620  1.3530  1.6230000  0.94320  0.52837  0.6830  0.25610 -0.23810
4502 -0.1504  4.0650  2.0920100  5.34200  1.23800  2.3583  4.60700  4.71200
4913 -0.3966  0.1003  0.5943000  0.47050 -0.66290  1.2690  0.80030  0.82590
4934 -0.0460  0.1458  0.1042000 -0.04000  0.21480  1.4700  1.37000  1.48300
5296  0.4235  0.4568  0.4052900  2.21400 -0.21374  1.2510  0.53120 -0.35610
5468 -0.5222 -0.6431 -0.1679000 -0.05450 -0.26560  0.9796  1.62700  0.77819
         GIST    GIST    LEIO    LEIO       LEIO    LEIO    LEIO    LEIO
516  -0.78640  0.2464  0.5245  0.1582 -0.5348000 -0.9633  0.3771  0.1001
857   2.21900 -2.2670 -2.5210 -2.2080 -2.2480000 -2.4850  0.7485  1.6730
980   0.56870 -0.3479 -2.4530 -0.2728 -0.9490000 -1.2410  1.2500  0.8335
2036  0.10980 -0.8324 -0.0589  1.1380 -0.2144200 -0.5318 -0.4484  0.5868
2290 -4.04000 -0.8270 -1.7800 -1.1690  0.8520000  0.8742  0.8682 -0.7161
2319 -2.30500 -0.2327  0.8148 -0.6408 -0.6957000  0.7964 -0.8354 -1.2170
2640  1.46000 -0.1452 -0.4215  1.4280  1.7910000  1.2080  1.2640  1.8370
2789 -0.21530 -0.4434  0.2081  2.7200  1.4550000  1.1350  1.6340  1.3680
2840 -1.25400 -0.4461  1.5320  0.0031  1.7040000  1.8470  1.5230  1.8440
2848 -0.03500 -0.6655  0.2136  0.0360  1.4860000  1.8910  0.4348  0.5316
3630 -0.43066  0.4887  0.0873  2.7230  0.7266000  0.7457  0.1108 -0.5734
3714  0.21620  1.4890  0.0279  0.3483 -1.7170000 -1.8100  0.0860 -0.2963
4357  1.14600  0.4930  0.1164  0.6326 -0.1858000 -0.2251 -0.4878 -1.5310
4488  1.53900 -0.3902  1.3450 -0.2083  0.2444778 -0.1034  1.1150  0.3940
4502  4.16800  3.4240 -3.8870 -2.2920 -2.2250000 -3.0720 -1.2730 -2.3420
4913  0.64180  0.5360 -1.5250  1.0440  0.9617000  1.1810 -0.0014  0.4954
4934  0.95770  0.9132 -0.8399  0.7721  1.7160000  1.9870  0.4030  0.4891
5296 -4.08100 -0.4320 -0.2138  0.3346  0.2562000  0.1128 -1.9500 -1.9990
5468  2.51700 -0.0065  0.0663  0.1106 -0.2269300 -0.9074 -0.9774 -1.7490
          LEIO    LEIO     LEIO    LEIO    LEIO       LEIO    SARC    SARC
516  -1.396000  1.3530  0.68650  1.6530  1.8290  2.3500000 -2.4940 -0.3779
857  -2.335000  1.9740  0.61120  1.4680  2.1360 -0.2914000  1.7060  0.5815
980  -0.524200  1.0240  0.64000  1.2860  1.7490  2.0010000 -1.3290  1.1330
2036 -0.172400 -0.3475 -0.48720 -0.1227  0.4364  0.0291000  0.4643 -0.3654
2290  0.765300 -2.7670  1.96100 -0.6317 -0.3934 -0.2810000  0.3152  0.5211
2319 -0.273400  1.0670  0.31120 -0.1782  1.0570  0.2132500 -0.3261  0.4694
2640  1.952000  0.9547 -0.63810  1.4340  1.5210 -1.9410000 -1.3630 -1.2540
2789  1.303478  0.0541  0.64230  0.1268 -2.3860 -0.8305333 -1.8200 -1.1040
2840  0.646000  0.4725 -0.14620  0.7618  0.4322 -0.6016000  1.0520  0.0209
2848  0.849900 -0.5638  0.26890 -0.0250 -0.3973 -0.7971000 -0.8945 -0.3072
3630  2.342000  0.4036  0.04930 -0.5452  0.8651  0.1728000 -0.4499  0.5429
3714  6.332000  0.4516  0.23910  0.0116 -0.7957  1.2280000 -0.5278 -0.2029
4357 -1.071000  0.1894  0.06490 -1.3730 -0.4610 -0.8656000 -0.5732 -0.3534
4488 -0.574000  0.0121 -0.56025 -0.6305 -0.4467 -0.7181000 -0.5326 -0.9050
4502 -0.556200 -2.6910 -2.02800 -2.5160 -1.3580 -1.4939500 -0.5657  2.2480
4913 -0.433000 -0.5951 -0.12110 -1.1700 -1.9370  0.2711000  0.8146 -0.0823
4934  0.193800 -0.5791 -2.79000  0.1926 -1.2290 -0.0097000  0.3980  0.3568
5296  0.879100  1.0600 -0.52500 -0.7259 -0.2105 -0.3420100 -2.3440 -1.2710
5468 -0.343500 -0.6141  0.16387 -1.4520 -0.2881  2.6000000  0.9130  0.2073
         SARC       SARC     SARC       SARC    SARC      SARC     SARC
516  -3.43600 -2.1350000 -1.27700 -0.8790000 -2.5140  0.159900  0.23770
857  -1.16700 -0.2516000  1.04500  0.8381000  0.7695  1.608000  1.04000
980   0.73920  1.1000000  1.72300  1.5050000  1.0260  0.700500  0.23750
2036  0.18270  0.2622000  0.30230 -0.4610000 -0.4730  2.119000  1.76700
2290  3.86200  1.7380000  1.91600  1.0390000  2.3690  1.828000  1.10900
2319  0.23390  0.5576000  0.97570  2.3100000  1.9490 -0.481100  1.01800
2640 -1.69600  1.3710000 -0.92910 -1.0030000  2.7760  0.298600 -0.26410
2789 -0.40246 -0.7031000 -0.16861  0.2655889 -1.2600 -0.749050  0.91430
2840 -0.83040  0.0824000  0.78150  0.3559000  0.1114  0.028000  0.41070
2848  0.23360 -0.1285000 -1.10100 -0.7833000 -0.5755 -0.647500 -0.58180
3630 -0.62517 -1.1030000 -1.18500 -0.2831000  0.0101 -1.758000 -1.40600
3714  0.74150  0.6293000 -0.46820 -0.2128000  0.6277 -0.252400  0.15580
4357 -0.60490 -0.7190000 -0.99090 -1.5370000 -0.0187 -1.396000 -1.40400
4488  0.86530  1.6840000  0.04510 -0.3741000  0.9899 -1.939000 -2.08700
4502  3.43400  2.4900000  1.32200 -2.1070000  1.4270  0.026850  5.07400
4913  1.30300  0.6709000  0.96320  2.4670000  0.1425 -0.519200 -0.86580
4934  0.32111  0.7802333  0.67940  1.5370000  0.1409  0.710000  1.18200
5296  5.84300  4.4300000  4.63100  0.2481000  1.4020 -0.164725 -0.01450
5468  1.47500 -1.9460000  0.01790  0.4401000 -0.5773  0.151390 -0.04288

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