ranks {ccfindR} | R Documentation

## Rank values in an Object

### Description

Retrieve or set the rank values in an object

### Usage

    ranks(object)

### Arguments

`object` | Object of class `scNMFSet`.

### Details

Ranks for which factorization has been performed are stored in slot `ranks` of `scNMFSet` object. `ranks(object)` will return the rank vector. `ranks(object) <- value` can be used to modify it.

### Value

Either `NULL` or vector.

### Examples

    s <- scNMFSet(matrix(rpois(n=12,lambda=3),4,3))
    s <- vb_factorize(s,ranks=seq(2,4))
    ranks(s)

[Package ccfindR version 1.7.0 Index]