Comments (5)
If the number of expected subgroups is, say 2000, then using random 5k rows from top 20k rows and directly using top 20k rows may give different results. But if the expected number of subgroups is, say 10, then I would expect randomly sampling 5k from top 20k can already give a perfect approximation for the subgroup identification, and it is not necessary to use the complete 20k rows.
from cola.
If the number of expected subgroups is, say 2000, then using random 5k rows from top 20k rows and directly using top 20k rows may give different results. But if the expected number of subgroups is, say 10, then I would expect randomly sampling 5k from top 20k can already give a perfect approximation for the subgroup identification, and it is not necessary to use the complete 20k rows.
To be more specific, my concern is when there is a very large number of features (I am working with ~200,000 DNA methylation CpG features). I want to generate clusters that reflect different methylation profiles, using ALL methylation features. Rather than assuming there is a sparse subset of important features, I want ALL (or most) features to contribute to the clusters.
Currently, cola
would only be able to resample 5000 features at a time. My intuition is that this will not give all features enough chance to contribute to the clusters (since in any given partition, ~99% of CpGs are not contributing at all). Although I understand each feature would still be given approximately equal weight when averaging over all partitions in the final consensus clustering, so maybe this approach is fine, I am not sure.
What do you think?
from cola.
@jarbet In cola, the 5000 features are not sampled from all 200K probs, it is sampled from top_n
top features. Let's say you may have 10k top most variable probs, the 5000 features are only samples from the top 10k probs.
from cola.
@jarbet In cola, the 5000 features are not sampled from all 200K probs, it is sampled from
top_n
top features. Let's say you may have 10k top most variable probs, the 5000 features are only samples from the top 10k probs.
Okay, so if I set top_n = 200K
, then it will resample 5000 features from ALL 200K, correct? That way I can give all 200K features a chance to appear in the clusters, right?
from cola.
The thing is, if you expect, say 5~20 clusters from all samples, then randomly sampling 5k features from 200K can give a good approximation. If you expect 1000 clusters from all samples, maybe randomly sampling 5K features is not a good idea.
from cola.
Related Issues (20)
- Errors with mclust // collect plot function HOT 7
- how to get siganature gene IDs or symblos? HOT 2
- Error running functional_enrichment HOT 4
- cola_report() not working when used after consensus_partition HOT 1
- Error: $ operator is invalid for atomic vectors in search_tweets HOT 1
- tiny test cae
- #> Error in {: task 1 failed - "object 'fun_name' not found" HOT 18
- Determination of default top_n HOT 2
- automatically check whether data is methylation data
- explain top_n in the documentation
- How can I get the gene signatures from every cluster? HOT 2
- How to change the colors of consensus_heatmap HOT 2
- Reproducibility in parallel? HOT 3
- How to change the group color in collect_classes() heatmap HOT 1
- collect_plot()
- 在get_signatures中设置diff_method = "uniquely_high_in_one_group"时候报错
- How to use cola on binary matrix?
- How to get the combinations of cluster partitions with row partitions (gene sets)
- Error when passing cluster object into ATC()
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 cola.