how many genes to pick out; if missing: number is determined by the median rule
sort.by
character string specifying statistic to sort the selected genes by in the output data.frame.
Value
A dataframe with a row for the number top genes and the following columns:
M
average log fold change
log.odds
log posterior odds that the gene is differentially expressed
Details
This function summarizes a Laplace mixture model fit object produced by lapmix.Fit by selecting the top-ranked genes according to the posterior log-odds or M-values.
The sort.by argument specifies the criterion used to select the top genes. Only two choices at the moment: "M" to sort by the (absolute) coefficient representing the log-fold-change, and "L" to sort by the posterior odds of differential expression under the Laplace mixture model.