Skip to contents

Retrieve per-annotation positions

Usage

# S3 method for class 'MarchRProject'
get_positions(proj, name, anno = NULL, ...)

Arguments

proj

(MarchRProject)

name

(character) Annotation name.

anno

(character or NULL) Optional partial / case-insensitive match pattern. If NULL (default), returns the full GRangesList. If set, returns a subset GRangesList containing all entries whose names match anno via grep(anno, names(pos), ignore.case = TRUE). Matches ArchR's getPositions(annoName = ...) behavior.

...

Currently unused.

Value

GRangesList in both cases. When anno is set, the list is subset to matching entries (use [[1]] to unwrap a single match).