prep_binary_data: Pepare gene set matrix and binary gene list

View source: R/enrichment_pipeline.R

prep_binary_dataR Documentation

Pepare gene set matrix and binary gene list

Description

Pepare gene set matrix and binary gene list

Usage

prep_binary_data(gs, dat, thresh = 0.01, ptop = NULL, .sign = c(1, -1))

Arguments

gs

a list containing gene set matrix X with genes in rownames and gene set names in 'colnames

dat

a vector of statistics to threshold hold, names must match columns of X

ptop

proportion of genes to include in gene list, if not NULL, overrides thresh

.sign

either c(1, -1), 1, or -1, to indicate including both, positive, or negative betas

threshold

to binarize dat


karltayeb/gseasusie documentation built on March 29, 2025, 2:17 p.m.