adjustGeneSetList: Adjust Gene Set List

View source: R/discuss.R

adjustGeneSetListR Documentation

Adjust Gene Set List

Description

This function adjusts the gene set list (GSL) of a given object based on specified limits.

Usage

adjustGeneSetList(object, limits = 50)

Arguments

object

An object of class SPATA2 or, in case of S4 generics, objects of classes for which a method has been defined.

limits

A numeric value representing the threshold percentage for gene set inclusion (default: 50).

Details

This function calculates the proportion of genes in each gene set relative to the total number of genes in the object. Gene sets with a proportion greater than or equal to the specified limit are retained, while others are removed.

Value

The updated input object, containing the added, removed or computed results.

See Also

getGeneSetList(), getGenes(), getAssay(), setAssay()


theMILOlab/SPATA2 documentation built on Feb. 8, 2025, 11:41 p.m.