Learn R Programming

DEGreport (version 1.8.2)

degRank: Get rank data frame with best score on the top

Description

Get rank data frame with best score on the top

Usage

degRank(g1, g2, counts, fc, popsize = 400, iter = 1000, ncores = NULL)

Arguments

g1
list of samples in group 1
g2
list of samples in group 2
counts
count matrix for each gene and each sample that is deregulated
fc
list of FC of deregulated genes. Should be same length than counts row.names
popsize
number of combinations to generate
iter
number of iteration in the mcmc model
ncores
number of cores to use

Value

data frame with the output of degBIcmd for each gene

Examples

Run this code
## Not run: 
# data(DEGreportSet)
# library(rjags)
# degRank(DEGreportSet$g1,DEGreportSet$g2,
#     DEGreportSet$counts[DEGreportSet$detag[1:5],],
#     DEGreportSet$deg[DEGreportSet$detag[1:5],1],400,500)
# ## End(Not run)

Run the code above in your browser using DataLab