YinLiLin / CMplot

📊 Circular and Rectangular Manhattan Plot
499 stars 111 forks source link

Should extract overlap or union snps when different traits with different position #104

Open koujiaodahan opened 10 months ago

koujiaodahan commented 10 months ago

as the title,Should we extract overlap or union snps among the traits before plotting Manhattan for GWAS with different SNP positions that running for different traits?

YinLiLin commented 10 months ago

If you would like to plot a single track Manhattan plot, it's not required to extract the overlapped or union SNPs for traits, just plot one by one with different dataframe of traits. But if not, e.g., multiple tracks or traits Manhattan plot, i recommend extracting the union SNPs for all traits in one dataframe, please use "NA" to indicate the absence of a SNP for a particular trait in which it is not encompassed.