Link Distal Regulatory Elements (peaks) to Putative Target Genes
predictGenePeakPair(obj, input.mat = c("pmat", "bmat"), gene.name = NULL,
gene.loci = NULL, do.par = FALSE, num.cores = 1)
A snap object.
Input matrix c("pmat", "bmat").
Name of the target gene. It must be a gene in the cell-by-gene matrix [NULL].
A genomic range object that contains the flanking window of the target gene [NULL].
A logical variable indicates if to run this in parallel using multiple processors [FALSE].
A numeric class that indicates the number of cores to use for calculation [1].
Return A data.frame that contains the peaks and associating P-value.