7
votes
Accepted
PCA plot shows big difference but not many differentially expressed genes are found
You only have 4 samples total. I think it would be difficult to not have the PCA show big differences between the groups with so few points.
On the other hand, for differential expression, it is hard ...
5
votes
Accepted
What does PCA mean on GWAS
From my memory of what a statistician told me, a PCA aims to determine independent linear combinations of variables (i.e. genotypes) that account for the most variation in the dataset. With 10 million ...
5
votes
Accepted
3D PCA group labelling
You can easily color 3D pca plots in R based on the code given below:
...
5
votes
Accepted
How to interpret PCA output statistically and biologically?
All that plots like this are telling you is that there are some genes that contribute more to the variability seen between your various samples than others. In an ideal world these genes will also be ...
4
votes
How are Principal Component analyses and Admixture analyses from a genetic alignment different?
Just to add to the great summary by Devon Ryan: admixture analysis tools are much more flexible than PCA (which is just a fixed mathematical operation), so they can be designed to incorporate LD ...
4
votes
Accepted
Should PCA be standardized for gene expression?
When the gene expression is scaled and centred you reduce the difference between genes.
Imagine you have one gene A that is highly expressed usually and has a standard deviation of 500 units ...
3
votes
Accepted
What is a sensible number of gene/observations to explain PCA variance?
The general goal of PCA in RNA-seq can be stated as, "I'd like a low-dimension representation of my data to allow easy assessment of the gross structure of my samples, specifically for assessing ...
3
votes
Pre-filtering genes for Principal Component Analysis
You can filter out genes that do not show variation across samples, they would not differentiate samples anyway. For the specifics on how to do so, please see the ...
3
votes
Accepted
Interpreting this PCA plot for RNA-seq
Yes, you can safely concatenate the technical replicates. Odds are good that these are even the same libraries just sequenced twice, so even labeling them as replicates is a bit of a stretch. As an ...
3
votes
Accepted
Understanding PCHeatmap outputs
The PCHeatmap function (renamed DimHeatmap in Seurat v3) can be used to help determine the number of principal components to use ...
3
votes
Accepted
PCA on genotype matrix with multiple alleles
You can make a 'dummy variable' for each allele. That means that you don't have info per SNP, but for SNPs with more alleles, the allele is present (1) or not (0).
3
votes
Accepted
How are Principal Component analyses and Admixture analyses from a genetic alignment different?
The fundamental difference lies mostly in the math.
An admixture analysis involves assuming that genotypes (or more likely, genotype likelihoods) in an unknown sample can be modeled with Hardy-...
3
votes
Accepted
Using external list of PCs for clustering
There is a way to do this, and even better--there is documentation for how to do it! No surprise coming from the Satija Lab. In the vignette they perform multidimensional scaling, but the idea is the ...
2
votes
2
votes
PCA on genotype matrix with multiple alleles
I recommend the Hamming distance and doing a multidimensional scaling (a procedure similar to PCA but for distances), that way you don't create new variables for the same position.
The distance ...
2
votes
Hierarchial PCA Clustering with duplicated row names
Try to make your rownames unique first.
So if you have this matrix with duplicate rownames:
...
2
votes
Accepted
Perplexity is too large
I was using dudi_pca incorrectly. The supplied parameter to as.matrix() should have been ...
2
votes
What does PCA mean on GWAS
PCA = principle component analysis and a multivariate statistic, today it is trendily retermed "unsupervised learning" and here is likely being deployed for individuals within your data set. It works ...
M__♦
- 12.8k
2
votes
Accepted
data visualization RNAseq : scaling data for PCA and cluster dendogram
Scaling (or centering) makes the genes comparable: Putting the expression levels of genes in the same scale (i.e. between 0 and 1) sustains that all of your genes contribute equally to the PCA or ...
2
votes
Accepted
Performing PCA for the samples and for the genes
First of all, I am not a statistician but have been performing RNA-seq analysis for a while, here is my take:
I think performing PCA on the samples makes sense in terms of mathematics. What I mean is ...
2
votes
PCA plot in R coloured by sample type
Can't say I've ever used autoplot, but this is fairly easy to achieve using "base" ggplot.
One thing autoplot does is put the axis on the same scale reflecting the percentage variation ...
2
votes
Test for differences between groups of samples
PCA does not do any testing and has no p-values. You may state that a separation of less than m units in PC > i is not ...
1
vote
Explanation for RNA-seq samples not clustering in PCA as expected
It's hard to say what is going on without looking at the plots. But it is a reasonable guess that samples are mislabelled and I think it is worth checking the experimental log carefully. It is also ...
1
vote
Biology behind PCA analysis based on SNP
First of all, PCA is a technique for dimension reduction. Basically, the goal is to compare tens of thousands of SNPs in Drosophila. Now if you only have 2 SNPs, you can plot them on a 2D scatter plot....
1
vote
Performing PCA for the samples and for the genes
It is quite possible to make a PCA plot with the samples. Follow this tutorial : https://hbctraining.github.io/DGE_workshop/lessons/03_DGE_QC_analysis.html
1
vote
Performing PCA for the samples and for the genes
If you use, say, R's prcomp, you can use my_pca_object$x to get PC coordinates for the samples, and my_pca_object$rotation to ...
1
vote
the variation between treatments is less than the variation between replicates in RNA-seq data
If you got DEGs with statistically significant p-values after multiple testing following a valid pipeline, I'd believe that, even if looking at the first few PCs doesn't look promising.
1
vote
RNAseq biological replicates not clustering in PCA plots
You used Kallisto for alignment. I think Kallisto reports TPM values, are you using this value? DEseq2 uses count data, so I am not sure whether these two methods are compatible.
Also, I agree with ...
1
vote
RNAseq biological replicates not clustering in PCA plots
PC1 is 81% of the variance?
This PCA plot confirms that different tissues are different. You probably already knew that. I'd make more PCA plots that are tissue specific. That will be more ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
pca × 49r × 19
rna-seq × 16
clustering × 10
deseq2 × 7
scrnaseq × 5
statistics × 5
snp × 5
phylogenetics × 4
seurat × 2
single-cell × 2
normalization × 2
ggplot2 × 2
plink × 2
edger × 2
proteomics × 2
umap × 2
dimensionality-reduction × 2
sequence-alignment × 1
bioconductor × 1
phylogeny × 1
differential-expression × 1
gene-expression × 1
visualization × 1
gwas × 1