get_relative_expression_seurat: Calculate relative expression between two or more peaks

View source: R/plotting_functions.R

get_relative_expression_seuratR Documentation

Calculate relative expression between two or more peaks

Description

Calculate a relative expression between two or more peaks by dividing the expression of each peak by the mean of the peak expression for that gene - or set of provided peaks

Usage

get_relative_expression_seurat(
  peaks.seurat.object,
  peak.set = NULL,
  gene.name = NULL,
  feature.type = c("UTR3", "exon"),
  p.count = 1
)

Arguments

peaks.seurat.object

Seurat object

peak.set

set of peaks

gene.name

gene name for retrieving a set of peaks

feature.type

features to consider. 3'UTR and exon by default.

p.count

Pseudo count

Value

a matrix of relative expression

Examples

## Not run: 
get_relative_expression_seurat(peaks.seurat.object, gene.name = "Cxcl12")

## End(Not run)

VCCRI/Sierra documentation built on July 3, 2023, 6:39 a.m.