subset_gmat: Subset pathway inclusion matrix based on size

Description Usage Arguments Value

View source: R/subset_gmat.R

Description

Subset pathway inclusion matrix based on number of measured features in pathway.

Usage

1
subset_gmat(object, Gmat, min.nfeats)

Arguments

object

Matrix-like data object containing log-ratios or log-expression values, with rows corresponding to features (e.g. genes) and columns to samples. Must have rownames that are non-duplicated and non-empty.

Gmat

Binary feature (e.g. gene) by pathway inclusion matrix, indicating which features are in which pathways.

min.nfeats

Minimum number of features (e.g. genes) needed in a gene set for testing.

Value

List of two: Gmat and vector nfeats.per.pwy with number of features per pathway.


jdreyf/PANTS documentation built on July 18, 2019, 10:12 a.m.