Comments (2)
@eroell, I believe the feature you requested is a cell type- or cluster-level metadata, rather than cell-level information. You can use the two columns from celltypist.classifier.AnnotationResult.predicted_labels
(over_clustering
and predicted_labels
) to get the freq of each cluster.
from celltypist.
Hey, thanks for getting back to this so quickly!
Yes, this indeed is a cluster-level information (I dont think it is a cell type information?).
Absolutely, these two columns from celltypist.classifier.AnnotationResult.predicted_labels
can be used for that.
My line of thought here was that just like when getting labels+probabilities using the default annotation scheme, getting labels+”probabilities” for the majority vote scheme. Yep, these “probabilities” (being frequencies) for the majority vote scheme are cluster-level information: so are the majority vote labels, which are also reported at cell-level.
As you said, this can be gotten with a few lines - the enhancement would be pure convenience.
So in case it seems other people are not interested in this, feel free to close the issue! :)
from celltypist.
Related Issues (20)
- the question about conf_score HOT 3
- CellTypist_Immune_Reference_v2 question HOT 2
- Immune_All_Low - model training question HOT 4
- Cluster-level label prediction HOT 1
- Running celltypist with concatenated dataset HOT 4
- Running the CellTypist training function celltypist.train on a subset of genes HOT 1
- ValueError in celltypist.annotate HOT 3
- is it available to generate model.pkl file from a marker gene list HOT 1
- Feature: Support Rapids-singlecell HOT 1
- Can not detect a neighborhood graph, will construct one before the over-clustering HOT 1
- multiple models HOT 7
- Question about over_clustering and conf_score? HOT 1
- Conflict with variable genes and model training HOT 1
- www.celltypist.org is down, cannot download models HOT 3
- Can not download the model HOT 2
- Very low confidence score even though labels are correct HOT 2
- celltypist before/after batch correction HOT 10
- Issue accessing www.celltypist.org - 502 Bad Gateway HOT 5
- Organ atlas Citing CellTypist. Automatic cell type harmonization and integr… HOT 1
- Issue with Offline Label Transfer HOT 2
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 celltypist.