zinb_toy {scBFA} | R Documentation

## example zinb object after fitting a toy dataset with 5 cells and 10 genes

### Description

The toy dataset is generated from the following code require(zinbwave) GeneExpr = matrix(rpois(50,1),nrow = 10,ncol = 5) rownames(GeneExpr) = paste0("gene",seq_len(nrow(GeneExpr))) colnames(GeneExpr) = paste0("cell",seq_len(ncol(GeneExpr))) celltype = as.factor(sample(c(1,2,3),5,replace = TRUE)) zinb = zinbFit(Y = GeneExpr,K=2)

### Usage

    data(zinb_toy)

[Package scBFA version 1.8.0 Index]