IsUpOrDown: Check if gene is up- or down-regulated

View source: R/ExponentialFitFunctions.R

IsUpOrDownR Documentation

Check if gene is up- or down-regulated

Description

Check if gene is up- or down-regulated

Usage

IsUpOrDown(dat.impute.lst, refmark, jgene, dat.meta.long)

Arguments

dat.impute.lst

list of matrices (rows are genes, columns are cells). Each matrix is a different histone mark

refmark

name of histone mark used to access specific matrix in dat.impute.lst

jgene

name of gene (row name) found in the matrix

dat.meta.long

data frame of metadata for individual cells. Column names include cell, mark, and ptime.expnorm (pseudotime)

Value

"up" if gene increase along pseudotime "down" if gene decreases along pseudotime

Examples

upordown <- IsUpOrDown(dat.impute.lst, refmark = jmark2, jgene = jgene, dat.meta.long = dat.meta.long)


jakeyeung/scChIX documentation built on May 7, 2023, 9:14 a.m.