ATACTransferLearning: Transfer Learning between ATACseq data sets using projectR

View source: R/ATACTransferLearning.R

ATACTransferLearningR Documentation

Transfer Learning between ATACseq data sets using projectR

Description

Wrapper function for projectR which finds overlaps between the peaks of the atac data CoGAPS was run on and maps them to new data set the user wishes to project learned patterns into.

Usage

ATACTransferLearning(
  newData,
  CoGAPSResult,
  originalPeaks,
  originalGranges,
  newGranges
)

Arguments

newData

the ATAC data to project into

CoGAPSResult

result from CoGAPS run on original ATAC data

originalPeaks

peaks from the ATAC data Cogaps was run on

originalGranges

granges of the peaks for the data set Cogaps was run on

newGranges

granges of the peaks for the new data set

Value

A matrix of the projected patterns in the input data as well as p-values for each element of that matrix.


FertigLab/ATACCoGAPS documentation built on Feb. 8, 2023, 6:46 p.m.