remove_zeros: Remove rows or columns that are empty from an object

Description Usage Arguments Value Examples

View source: R/scNMF_class.R

Description

Remove rows or columns that are empty from an object

Usage

1
remove_zeros(object)

Arguments

object

Object containing data

Value

Object with empty rows/columns removed

Examples

1
2
3
4
5
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

hjunwoo/ccfindR documentation built on Oct. 4, 2019, 10:31 a.m.