summaryComparison: summarize the model comparison results

Description Usage Arguments Value Examples

View source: R/checkGeneCountDistribution.R

Description

This function summarizes the results and count the number of models that are selected for each gene. The selection criterion can be hypothesis testing based, or AIC based.

Usage

1

Arguments

result

Value

a list of two components: modelCount: summarized count of best fitted models modelStats: the FDR and p-values of hypothesis testing results

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
gene1 = rnbinom(100, size = 0.1, mu = 0.1)
gene2 = rpois(100, lambda = 0.1)
data = rbind(gene1, gene2)
groups = rep(1, 100)
countPerCell = rep(1e4, 100)
fitResult = checkDataDistribution(data, groups, countPerCell)
summaryResult = summaryComparison(fitResult)
print(summaryResult)

## End(Not run)

chenlab-sj/nbid documentation built on Nov. 4, 2019, 8:50 a.m.