SelectHighlyExpressedGenesq99: Intersect Genes with the List of Noticeably Expressed Genes

View source: R/Seurat.Utils.R

SelectHighlyExpressedGenesq99R Documentation

Intersect Genes with the List of Noticeably Expressed Genes

Description

Intersects a vector of gene names with a Seurat object to find genes that are both in the input list and have expression levels in the top quantiles as defined by the object's q99 expression data. It aims to filter genes based on their expression levels being above a specified threshold. Additionally, it offers an option to sort the genes by their expression levels in decreasing order.

Usage

SelectHighlyExpressedGenesq99(
  genes,
  obj = combined.obj,
  above = 0,
  sort = FALSE,
  strict = FALSE
)

Arguments

genes

A vector of gene names to be intersected with the Seurat object.

obj

A Seurat object containing gene expression data. Default: combined.obj.

above

The expression level threshold above which genes are considered noticeably expressed. Default: 0.

sort

A logical flag indicating whether to sort the filtered genes by their expression levels in decreasing order. Default: FALSE.

Value

A vector of gene names that are found both in the input 'genes' vector and the Seurat object, and have expression levels above the specified 'above' threshold. If sort is TRUE, these genes are returned in decreasing order of their expression levels.

Examples

# Assuming `genes` is a vector of gene names and `


vertesy/Seurat.utils documentation built on Dec. 4, 2024, 5:20 p.m.