Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [clustering]

Clustering is the task of grouping a set of objects in such a way that objects in the same group (called a cluster) are more similar (in some sense) to each other than to those in other groups (clusters).

2
votes
2answers
80 views

Interpretation of hierarchical clustering with bootstrapping

I have data that includes 'cases' and 'controls' and have carried out hierarchical clustering. I used the pvclust package in R to bootstrap the results and ...
1
vote
0answers
41 views

How to write the subclusters in file?

I have constructed a gene co-expression network from RNA-seq data. The network file is in edge list format of memory around 1gb which was created by calculating Pearson correlation of each gene pairs ...
4
votes
2answers
74 views

Are phylogenetic tree construction algorithms any different than general clustering algorithms?

I suspect the answer is no. But I don't know enough to be sure that that is the case. Of course phylogenetic tree construction uses biological knowledge, e.g special distance metrics, but does it ...
1
vote
1answer
47 views

GBS: clustering of PCoA axes with R package mclust to describe identity by missingness

I have a SNP dataset with 56 populations and 430 samples that was produced by GBS sequencing. I need to identify groups of samples that have similar patterns of genotype missingness, since there is ...
2
votes
1answer
61 views

How I know which gene is a good predictor in this neural network or not?

I have 25 highly differentially expressed genes among responder (TRG12) and non responder (TRG45) patients to chemotherapy. I have made a neural network of these genes. Accuracy of model is 0.73 but ...
2
votes
2answers
38 views

Using multidimensional scaling to visualize protein sequences by functionality

I have a multiple sequence alignment (MSA) of protein sequences, with which I have performed multidimensional scaling to visualize their clustering. Using R, I used the ...
2
votes
1answer
52 views

sva for RNA-Seq data without known phenotype

I have been working on RNA-Seq data from two different cohorts, and they show very strong batch effect (~35% variance explained by 1st component in PCA). Since I am trying to do a class discovery from ...
2
votes
2answers
69 views

Can I get the graph generated by cellranger

I’ve run the cellranger analysis pipeline on single cell RNASeq datasets. I can import the matrix and graph-based clusters into R. Doing this I can optimise the dimension reduction and plot cells with ...
3
votes
0answers
28 views
1
vote
0answers
54 views

How to create a dendrogram of clusters and reconstruct phylogenetic relationship

I'm working with a Daphnia data set looking at the 16s gene pulled from the BOLD database. So far I did a multiple sequence alignment and attempted to cluster and plot a dendrogram: ...
0
votes
0answers
14 views

Comparing between different set of clusters produced from the same network

I have a set of eight gene clusters which I obtained from clustering a network. However, I had to update the genes in the network at a later stage which lead to certain deletions (genes not present in ...
0
votes
1answer
72 views

Using external list of PCs for clustering

I am going to use principal components (PCs) comes from calcPCA function in URD program for clustering my cells in Seurat; So ...
3
votes
2answers
226 views

Seurat for clustering bulk RNA-seq?

Is it ever ok to use Seurat for clustering bulk samples? I am looking at FPKM data from ~750 bulk RNA-seq samples generated using Cufflinks. As suggested for FPKM ...
0
votes
1answer
29 views

Check if a set of genes fall more on a specific cluster than other clusters

I have a network which I clustered into 11 smaller clusters. I have a set of genes and I would like to check if statistically significant number of these genes fall on any specific cluster. One method ...
0
votes
0answers
30 views

Non-redundant set of indices for AAindex?

AAindex has 566 indices with real values for each of the 20 amino acids mostly from wetlab measurements. Many of these values are highly correlated, and thus do not make good features for ...
2
votes
2answers
28 views

How to combine multiple kernels of large sample datasets?

I have multiple large sample datasets in matrix format (each has 15000 rows and 5-50 columns) corresponding to different experiments. Each matrix contains the same number of samples(rows) but the ...
4
votes
1answer
119 views

RNA-Seq: clustering/treatment of genes with low expression

I have some RNA-Seq data from leukaemia patients. I want to do unsupervised clustering on them with some other published leukaemia RNA-Seq data and see how they cluster. There are a few problems I ...
0
votes
0answers
30 views

Quality checking benchmarks for clustering

I'm currently working with several RNAseq datasets from the ENCODE database. My approach to assessing the quality of the data, i.e, reproducibility is by automating the assessment of expression ...
1
vote
0answers
44 views

case/control phenotype prediction - population stratification with R

I'm struggling these last days on a case/control phenotype prediction problem based on genotype (individual x SNPs with more than 10k individuals and approx 18k SNPs encoded as 0,1,2). Thanks to PCA ...
3
votes
2answers
147 views

Omics data: How to interpret heatmap and dendrogram output?

How to interpret heat map and dendrogram output for biological data (omics) in words (when writing results and discussion)? What should I consider (statistics behind?) and what is the best approach? ...
2
votes
2answers
2k views

How to scale the size of heat map and row names font size?

I have an expression data matrix (120X15; 15 samples and 120 genes), my heatmap looks blurred and raw names (gene names) looks very small and can not read. How can I improve my scripts? Here is the ...
4
votes
1answer
52 views

Is removing samples based on clustering for downstream analysis a right choice?

I'm using TCGA Lung cancer data. I'm interested in doing differential analysis between Lung vs Normal. Before DEA, to check the distance between each pair of samples I plotted an MDS plot: In this, I ...
10
votes
1answer
347 views

How to decide number of neighbors and resolution for Louvain clustering

I am using Louvain clustering (1,2) to cluster cells in scRNAseq data, as implemented by scanpy. One of the parameter required for this kind of clustering is the number of neighbors used to construct ...
1
vote
2answers
96 views

What could be the reason for the samples not clustering?

I'm performing RNA-seq analysis. I have used Hisat2 for aligning reads to the genome and stringtie for quantification and extracted read count information directly from the files generated by ...
5
votes
1answer
110 views

Evaluate clusters of individuals by using their sequence data

For a dataset of several hundred individuals, I applied a hierarchical clustering to generate clusters based on a functional trait that sets them apart. My task is now to evaluate if these clusters ...
0
votes
0answers
108 views

How can I calculate and compare intra-cluster correlation for each GO term and pathway?

How can I calculate and compare intra-cluster correlation for each GO term and pathway? I want for all the genes, which belong to the same GO-term, calculate a similarity score. Each GO term can be ...
1
vote
1answer
164 views

factoextra: Error in if (xlab == “x”) xlab <- “x value” : argument is of length zero

I just followed the tutorial trying to do clustering on my own data, but I can't visualize it because fviz_cluster function is giving me an error: Error in if (...
3
votes
1answer
472 views

Find Patterns in Cluster

I have a heatmap and I would like to find some rectangles. I have already used clustermap. But here, I can not calculate these rectangles. The order of the data should not be changed. This Code is ...
2
votes
2answers
75 views

Getting hierarchy of cell populations with Drop-seq data

I plan on collecting some drop-seq data from brain tissue (from mice and humans). Using only the 75-85% of genes that have 1:1 orthology between mice and humans, I'd like to cluster the cells by ...
5
votes
1answer
671 views

How to obtain clusters of hierarchical heatmap when using Python?

Is there a good way of obtaining the labels (e.g. genes) within individual clusters that haven been clustered hierarchically in Python (preferentially, but not necessarily, by seaborn)? I found these ...
6
votes
1answer
479 views

Using the t-SNE algorithm on microarray data + an error bonus

I'm trying to use the t-SNE algorithm on some microarrays data. More specifically my data frame has 18600 columns with genes (features) and 72 rows with conditions with replicates ( 10xWt , 10xTg , ...
5
votes
1answer
59 views

Should the cell sorting marker genes be excluded during clustering?

We sort different populations of blood cells using a number of fluorescent flow cytometry markers and then sequence RNA. We want to see what the transcriptome tells us about the similarity and ...
5
votes
2answers
76 views

validating identified sub-populations of cells in scRNA-seq

In the analyses of single-cell RNA-seq data there are different unsupervised approaches to identify putative subpopulations (e.g. as available with Suerat or SCDE packages). Is there a good way of ...