Comments (2)
Hi Marc,
I'm uploading the print out of the objects as a file because it is so large. I used the 10X Genomics data from the example vignette. My object "h", printed out and can be found underneath "Object:h". However, I also asked it to print out train_cell_clust under "Object:train_cell_clust" so the error must be within this.
![image]
(https://github.com/MarcElosua/SPOTlight/assets/99920448/fbd05138-9e74-4931-8cad-8a15c8f2a5e3)
ObjectPrint-SPOTlight0.1.7.out.pdf
from spotlight.
Hi @ABauer26
Thank you so much for your interest in SPOTlight! Adding the comments from your email here so if other people encounter this issue they have access to the troubleshooting. I have to say that version 0.1.7 has been deprecated now for over 1 year so I would strongly recommend installing the version in Bioconductor.
This occurs after the gene set has been prepared, after the count matrix has been normalized, after the initial matrices are seeded, and the NMF model is trained. The deconvolution of spots reaches 100%, and then the dplyr::mutate() error occurs.
I've narrowed the error down to the specific regions of code that fail, and it seems to occur right about here:
h <- NMF::coef(nmf_mod[[1]])
rownames(h) <- paste("Topic", 1:nrow(h), sep = "_")
topic_profile_plts <- SPOTlight::dot_plot_profiles_fun(
h = h,
train_cell_clust = nmf_mod[[2]])
I initially thought it was an incompatibility with the "dplyr" package version that I was running (1.1.3), but any versions I have tried that are above version 1.0.10 (version required and above) has not remedied the issue.
My guess at this point is that the error is happening within the dot_plot_profiles_fun
. Could you please paste here what the h
and train_cell_clust
you input to the function look like?
from spotlight.
Related Issues (20)
- plotInteractions result meaning HOT 1
- In README.md the processed object can not find HOT 2
- Regarding the PBMC (GSE133549) dataset used in the method HOT 1
- scatter plot circles instead of sctter pie circles HOT 1
- residuals of the sum of squares doesn't work for Seurat object HOT 2
- Prepare for upcoming Seurat v5 release
- How to plot specific cell type proportions in the newest version of spotlight? HOT 1
- SPOTlight_1.0.0 on Bioconductor .zip cannot be downloaded
- downsample_se_obj HOT 1
- Questions about some details in paper HOT 2
- Fixed Matrix version incompatible with SeuratObject HOT 1
- Passing dataframe with NAs into plotCorrelationMatrix HOT 1
- Error from `.extract_counts()` when calling `SeuratObject::GetAssayData()` v5.0.1 HOT 1
- assay %in% SeuratObject::Assays(x) is not TRUE HOT 2
- How to annotate a spot as a type of cell HOT 1
- Error in .extract_coord(x = x, slice = slice, img = img) : !is.null(colnames(x)) is not TRUE HOT 1
- Scatterpie
- HELP! imgData is not equal to the spatialcoords
- trainNMF error HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotlight.