miloR - object 'as.SimpleList' of mode 'function' was not found when running calcNhoodDistance
Entering edit mode
29 days ago
shuaizh117 ▴ 10

I was trying to run "milo.PH <- calcNhoodDistance(milo.PH, d=25, reduced.dim = "HARMONY")", and it's been running without giving any error, however, when I click on STOP, it gave the error as "Error in get(as.character(FUN), mode = "function", envir = envir) : object 'as.SimpleList' of mode 'function' was not found"

All previous steps work fine as below:

sce<- as.SingleCellExperiment(PH.lung.sct)

create a milo object

milo.PH <- Milo(sce)

construct KNN graph

milo.PH <- buildGraph(milo.PH, k = 30, d = 25, reduced.dim = "HARMONY")

Defining representative neighborhoods on the KNN graph

milo.PH <- makeNhoods(milo.PH, prop = 0.05, k = 30, d=25, refined = TRUE, reduced_dims = "HARMONY") plotNhoodSizeHist(milo.PH)

Counting cells in neighbourhoods

milo.PH <- countCells(milo.PH, =, sample="patient") head(nhoodCounts(milo.PH))

Any suggestions or comments would be appreciated!

scRNA-seq seurat miloR • 130 views

Login before adding your answer.

Traffic: 1314 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6