remove_zeros {ccfindR} | R Documentation

## Remove rows or columns that are empty from an object

### Description

Remove rows or columns that are empty from an object

### Usage

    remove_zeros(object)

### Arguments

`object` | Object containing data

### Value

Object with empty rows/columns removed

### Examples

    set.seed(1)
    x <- matrix(rpois(n=100,lambda=0.1),10,10)
    s <- scNMFSet(count=x,remove.zeros=FALSE)
    s2 <- remove_zeros(s)
    s2

[Package ccfindR version 1.6.0 Index]