mapArchRToGenes: Map ArchR peaks to genes

View source: R/DataParsingFunctions.R

mapArchRToGenesR Documentation

Map ArchR peaks to genes

Description

mapArchRToGenes Generates a mapping from genes to peaks per label

Usage

mapArchRToGenes(labelGenes, ArchRproj, whichMat = "TileMatrix", regions)

Arguments

labelGenes

data.frame with genes of interest in first column and corresponding labels in second column

ArchRproj

an ArchR project

whichMat

string determing whether to use "TileMatrix" or "GeneScoreMatrix" from ArchR project

regions

GRanges object of genomic regions associated with genes (only needed for "TileMatrix")

Value

list of genes and corresponding peaks by label


PFPrzytycki/CellWalkR documentation built on Oct. 26, 2023, 1:50 p.m.