-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FeatureMatrix silently generates empty matrix when used with merged Seurat object #224
Comments
Commenting because I have the same issue trying to follow the merge vignette. FeatureMatrix works fine when following the analyzing adult mouse vignette. From there I saved the filtered files as a .RDS and fed them into the merge objects steps and FeatureMatrix returns NULL. |
This is fixed on the develop branch (see #205) |
Hi @timoast, I updated to the develop version of Signac successfully and the problem still persists. |
@ninal88 try restarting R after updating Signac and verify that running If you can verify that you still have this issue after restarting R please open a new issue and include your full code and the output of |
@timoast - bit puzzled why I wasn't on the dev version because I had restarted R a couple of times since updating and the |
Hi there,
I was attempting to use a combination of merging and integration in a workflow with Signac. I have two datasets D1 (samples 1 to 4) and D2 (samples 5 to 6). There multiple different un-replicated samples per dataset. Additionally, the two datasets have different experimental setups. I was originally working on the two datasets separately, having merged the samples together to create two Seurat objects, until my collaborator expressed interest in seeing them together.
I wasn't quite sure how to attempt the integration workflow (take the intersection of all individual samples or take the intersection of the merged datasets). I attempted to use the workflow on the merged objects but that failed, so I ended up merging all samples together for both datasets for the sake of moving on with the analysis. When I was investigating why integration was failing, I noticed that the
FeatureMatrix
step returns an empty matrix when used on a merged object:FeatureMatrix runs without an error message but
peaks_mat_d2
is completely empty.I've checked the same step with one of the unmerged Seurat objects with the
subset_peaks
and it ran fine and produced a matrix with counts in it, so I know that there should be counts forsubset_peaks
found for the merged object.Both the combined_d1 and combined_d2 objects work fine - I have been able to use them for label transfers and to generate coverage plots.
I tried to take a look at what the FeatureMatrix function itself was doing and each matrix inside
mat.list
was empty. So something is going wrong with theSingleFeatureMatrix
step and I haven't investigated further. I am using the dev version of Signac as of last week, when I was having a similar problem with the GeneActivity step for the merged object and saw someone had filed #205, which fixed that issue for me.My sessionInfo:
The text was updated successfully, but these errors were encountered: