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
Thank you for the package! I am working with a non-model species and projecting putative hybrids onto the PCA space of source individuals (since they are recent hybrids I have turned off scaling for genetic drift). I have created my input .traw from a vcf of SNPs, and so I'm a bit confused why so many of my sites are being removed by the filter for invariant sites.
Please could you explain how it is deciding to remove these? Are they within / between groups or the projected individuals? I have checked my vcf for invariant sites and there aren't any. I have posted my code and output below. Thanks for your help :)
Checking argument options selected...
Argument options are correct...
Loading data...
Imported 2523831 SNP by 140 sample genotype matrix
Time elapsed: 0h 0m 2s
Filtering data...
2523831 SNPs included in PCA computation
44 samples included in PCA computation
96 samples projected after PCA computation
Completed data filtering
Time elapsed: 0h 0m 3s
Scanning for invariant SNPs...
Scan complete: removed 1017534 invariant SNPs
Time elapsed: 0h 0m 5s
Checking for missing values...
1474461 SNPs contain missing values
Imputing SNPs with missing values...
Imputation with means completed: 7770780 missing values imputed
Time elapsed: 0h 0m 6s
Note: SNP-based scaling not used
Computing singular value decomposition using RSpectra...
Completed singular value decomposition using RSpectra
Time elapsed: 0h 0m 8s
Extracting eigenvalues and eigenvectors...
Eigenvalues and eigenvectors extracted
Time elapsed: 0h 0m 8s
Projecting ancient samples onto PCA space
PCA space = PC1PC2
Completed ancient sample projection
96 ancient samples projected
Time elapsed: 0h 0m 14s
Tabulating PCA outputs...
Completed tabulations of PCA outputs...
The text was updated successfully, but these errors were encountered:
Hi! Not sure why it's filtering out so many sites. Invariant sites are defined as sites with only one allele across all analyzed individuals. If you send me your traw and fam file (or a subset of it), I could have a closer look.
Hi,
Thank you for the package! I am working with a non-model species and projecting putative hybrids onto the PCA space of source individuals (since they are recent hybrids I have turned off scaling for genetic drift). I have created my input .traw from a vcf of SNPs, and so I'm a bit confused why so many of my sites are being removed by the filter for invariant sites.
Please could you explain how it is deciding to remove these? Are they within / between groups or the projected individuals? I have checked my vcf for invariant sites and there aren't any. I have posted my code and output below. Thanks for your help :)
Code:
Output:
The text was updated successfully, but these errors were encountered: