dvitale199 / GenoTools

GenoTools: Advanced Genotype Data Analysis A robust suite for processing genotype data, offering genotype calling (.idat to PLINK), comprehensive sample/variant QC, and ancestry estimation. Ideal for computational biology and genetics research.
Apache License 2.0
22 stars 7 forks source link

combine covars with PCs if --covars and --pca called #153

Open dvitale199 opened 8 months ago

dvitale199 commented 8 months ago

Currently, --covars and --pca used together results in defaulting to covars. we want to be able to run --pca and concat the pcs with the existing covars

Describe the solution you'd like add method to check if covars contains PCs already (just in case) and then generate pcs, and merge with input covars to use in the association