You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
counts =load_counts(sample_paths; sample_names=["P1","P2"])
┌ Warning: ID "CD34" is not unique. Use duplicate_var=x, where x is :error, :warn or :ignore to control behavior.
var_counts_fraction!(counts, "name"=>contains(r"^MT-"), "feature_type"=>isequal("Gene Expression"), "fraction_mt")
ArgumentError: duplicate rows found in right table
what is fraction_mt? I didn't find it in counts.obs and counts.var
is it counts.matrix?
ID "CD34" is duplicate at row 2697 and 33546
I want to remove 33546 and try, but it is immutable structure.
what can I do?
The text was updated successfully, but these errors were encountered:
I have updated the tutorial files so they also include proper unique IDs (Ensembl IDs). It was easy enough the reconstruct since I could figure out which reference genome they had used. 😅
So if they re-download the files, the tutorial should work fine.
I also plan to add a section to the tutorial (or elsewhere in the documentation) with a discussion on non-unique IDs.
There isn't always an easy fix though, so that's why I decided to update the files for the tutorial for now. (And it's really weird that anyone would share data without proper IDs. But that's another discussion.)
In this case, the duplicate IDs are because of a collision between "Gene Expression" features and "Antibody Capture" (CiteSeq) features.
So, after running load_counts, but before var_counts_fraction!, you can run:
to only keep gene expression, and the rest of the tutorial should work fine with the old files.
Regarding fraction_mt. It is an annotation in obs that is created by var_counts_fraction!. But since you got an error on that line, it was never created. It should work now.
Hi , I'm following the tuto and got error
what is
fraction_mt
? I didn't find it incounts.obs
andcounts.var
is it
counts.matrix
?ID "CD34" is duplicate at row 2697 and 33546
I want to remove 33546 and try, but it is immutable structure.
what can I do?
The text was updated successfully, but these errors were encountered: