Skip to contents

Returns a matrix showing which genes are present (1) or absent (0) in each study's DE result, enabling informed decisions about how to handle partial overlap before meta-analysis.

Usage

mx_missing_summary(de_results)

Arguments

de_results

A named list of data.frame objects from mx_de_all, or a list of metaXpressStudy objects.

Value

A binary matrix (genes x studies) where 1 indicates the gene is present and 0 indicates it is absent. Attribute "coverage_pct" contains the percentage of studies covering each gene.

Examples

if (FALSE) { # \dontrun{
  cov_mat <- mx_missing_summary(de_results)
  hist(attr(cov_mat, "coverage_pct"), main = "Gene coverage across studies")
} # }