Open TZUwang opened 2 months ago
hello,I see somebody tell the answer in another issue. Hope it works! https://github.com/aertslab/SCENIC/issues/71
Reference TKX But I have seen this issue and tried to solve it, but it has not been improved. Maybe I have not set it up. This is my code. I want to know where the problem lies.
dermis <- subset(x = age.combined.PC30.r0.25, idents = c("1", "3", "6", "8", "13", "19")) exprMat <- GetAssayData(dermis_ND0, assay = "RNA", slot = "counts") exprMat <- as.matrix(exprMat) mode(exprMat) <- "numeric" plan(multisession, workers = 1) scenicOptions <- initializeScenic(org="mgi", dbDir=dbDir, nCores=1) genesKept <- geneFiltering(exprMat, scenicOptions) exprMat_filtered <- exprMat[genesKept, ] runCorrelation(exprMat_filtered, scenicOptions) exprMat_filtered_log <- log2(exprMat_filtered + 1) runGenie3(exprMat_filtered_log, scenicOptions) exprMat_log <- log2(exprMat + 1) scenicOptions@settings$dbs <- scenicOptions@settings$dbs["10kb"] scenicOptions <- runSCENIC_1_coexNetwork2modules(scenicOptions) scenicOptions <- runSCENIC_2_createRegulons(scenicOptions, coexMethod=c("top5perTarget")) Error in file(con, "w") : all connections are in use
HI there I have encountered some problems and would like to ask for advice.When I run
I solved it by using this code closeAllConnections() but no improvement what should I do