getFeat: Feature selection based on differentially expressed genes

View source: R/FateID_functions.R

getFeatR Documentation

Feature selection based on differentially expressed genes

Description

This function performs a feature selection based on the inference of differentially expressed genes between each target cluster and all remaining cells.

Usage

getFeat(x, y, tar, fpv = 0.05, ...)

Arguments

x

expression data frame with genes as rows and cells as columns. Gene IDs should be given as row names and cell IDs should be given as column names. This can be a reduced expression table only including the features (genes) to be used in the analysis.

y

clustering partition. A vector with an integer cluster number for each cell. The order of the cells has to be the same as for the columns of x.

tar

vector of integers representing target cluster numbers. Each element of tar corresponds to a cluster of cells committed towards a particular mature state. One cluster per different cell lineage has to be given and is used as a starting point for learning the differentiation trajectory.

fpv

p-value cutoff for calling differentially expressed genes. This is a cutoff for the Benjamini-Hochberg corrected false discovery rate. Default value is 0.05.

...

additional arguments to be passed to the low level function diffexpnb.

Details

The function determines differentially expressed between the cells in each of the target clusters in comparison to the remaining cells by using diffexpnb function.

Value

A filtered expression table with features extracted based on differentially expressed genes.

Examples

x <- intestine$x
y <- intestine$y
tar <- c(6,9,13)
xf <- getFeat(x,y,tar,fpv=.05)

FateID documentation built on June 14, 2022, 5:06 p.m.