Skip to content

projectBulkATAC not working with Harmony? #1379

@cschmidl

Description

@cschmidl

Describe the bug
Dear Ryan and Jeff, I was running into a problem with the projectBulkATAC function (which I find really useful!!).

I use the recent version from githuub and commented out
.loadUWOT (line 168) as it gave an error Error ('unused argument (embedding$params$nc)')
Also, we added the force option.

The function runs perfect with the IterativeLSI dimredduction in the testdataset. However, when I run the function with the testdataset on the Object after Harmony and the corresponding UMAP I get the error:

Error in normalizeDoubleBracketSubscript(i, x, exact = exact, allow.NA = TRUE, :
attempt to extract less than one element
9.
stop("attempt to extract less than one element")
8.
normalizeDoubleBracketSubscript(i, x, exact = exact, allow.NA = TRUE,
allow.nomatch = TRUE)
7.
getListElement(x@listData, i, exact = exact)
6.
getListElement(x@listData, i, exact = exact)
5.
getListElement(x, i, ...)
4.
getListElement(x, i, ...)
3.
rD[[grep("Features", names(rD))]]
2.
rD[[grep("Features", names(rD))]]
1.
projectBulkATAC(ArchRProj = proj2, seATAC = rse_list$GSE179593,
reducedDims = "Harmony", embedding = "HarmonyUMAP", n = 100,
verbose = TRUE, threads = 1, logFile = createLogFile("projectBulkATAC"))

I attached the logfile!

Thank you very much!
ArchR-projectBulkATAC-a4b71339b1a8-Date-2022-04-07_Time-16-06-36.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions