Description Usage Arguments Examples
This is an updated version of makeSimCount2groups which takes in filtered data and performs permutation at gene-level and at the sample level.
| 1 2 | makeSimCount2groups.filter(counts, Ngenes = NULL,
  sample_method = c("per_gene", "all_genes"))
 | 
| counts | Gene expression count matrix from a dataset. | 
| Ngenes | Number of genes in the simulated dataset. | 
| Nsample | Number of samples in each condition. | 
| pi0 | Proportion of null genes. Default to be 1. | 
| 1 2 3 4 5 6 7 8 | library(singleCellRNASeqHumanTungiPSC)
eset <- HumanTungiPSC
counts <- exprs(eset)[,pData(eset)$individual == "NA19101"]
sim_counts <- makeSimCount2groups(counts,
                                  Ngenes = 100,
                                  Nsample = 20,
                                  sample_method = "all_genes")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.