remove_zeros {ccfindR} | R Documentation |
Remove rows or columns that are empty from an object
remove_zeros(object)
object |
Object containing data |
Object with empty rows/columns removed
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