Retrieve peak-gene links for a given set of genes. Links must be first
obtained by running the LinkPeaks
function.
GetLinkedGenes(object, features, assay = NULL, min.abs.score = 0)
A Seurat object
A list of peaks to find linked genes for
Name of assay to use. If NULL, use the default assay
Minimum absolute value of the link score for a link to be returned
This function is designed to obtain the stored results from running the
LinkPeaks
function. Alternatively, custom peak-gene linkage methods
can be used as long as they store the gene name, peak name, and a peak-gene
score information as metadata columns named "gene," "peak," and "score"
respectively.
GetLinkedPeaks