This function will read in the .best file output from demuxlet and add the doublet classifications into the cellColData for the ArchR Project

addDemuxletResults(ArchRProj = NULL, bestFiles = NULL, sampleNames = NULL)

Arguments

ArchRProj

An ArchRProject object.

bestFiles

The file path to the .best files created by Demuxlet. There should be one .best file for each sample in the ArchRProject.

sampleNames

The sample names corresponding to the .best files. These must match the sample names present in the ArchRProject.