Closed lchan8 closed 1 year ago
I got the function to work after making my own version and deleting "rm(sce)". When I moved "rm(sce) to after "metadata_combined = SummarizedExperiment::colData(sce) %>% tibble::as_tibble()", the function did not finish running and I got the following warning:
[1] "Combine all the information in prioritization tables" Warning: cannot open compressed file '/Users/lchan8/.local/share/rstudio/notebooks/D870D146-MultiNicheNet_vignette/1/9A6E152Da699236c/cgn9i4w3xdvgb_t/_rs_rdf_16432566a4a75.rdf', probable reason 'No such file or directory'Error in gzfile(file, "wb") : cannot open the connection
Is this an appropriate fix to my problem, or is there some other underlying problem? Thank you.
Hi @lchan8
Thank you for pointing this out. There seems to be a bug in the wrapper function. This should be fixed now after reinstalling multinichenetr. Let me know if you still get an error. In that case, also give more details about the analysis you ran (eg from which vignette you started etc).
Hi,
I got the following error when I ran multi_nichenet_analysis() on my dataset.
[1] "Calculate differential expression for all cell types" [1] "DE analysis is done:" [1] "included cell types are:" [1] "NK" "Mono" [1] "Make diagnostic abundance plots + Calculate expression information" [1] "Calculate NicheNet ligand activities and ligand-target links" [1] "Combine all the information in prioritization tables" Error in
metadata_combined[, c(sample_id, group_id)]
: ! Can't subset columns that don't exist. ✖ Columnssample
andcondition
don't exist. Runrlang::last_trace()
to see where the error occurred.When I checked head(ColData(sce)), I saw the columns 'sample' and 'condition.'
DataFrame with 6 rows and 31 columns orig.ident sample condition nCount_RNA nFeature_RNA species gene_count tscp_count mread_count bc1_well bc2_well