tag:blogger.com,1999:blog-3215661876653517169.post5658943873715382242..comments2023-12-21T01:22:02.387-05:00Comments on Genome Toolbox: Create Triangle Plot from Inferred Genetic AncestryUnknownnoreply@blogger.comBlogger4125tag:blogger.com,1999:blog-3215661876653517169.post-14943867919818351772014-08-27T10:30:09.197-04:002014-08-27T10:30:09.197-04:00I just double checked. The order of the columns i...I just double checked. The order of the columns is correct in the above blog script with the order being "EUR", "AFR", and "ASN". It looks like there has been an update to SNPWEIGHTS since I last used it, so this may account for the difference. Also, the columns may be assigned in order of the most common ancestry in your input data which could account for the difference.Adminhttps://www.blogger.com/profile/01259871670672195666noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-58099387361313622992014-08-26T10:23:15.401-04:002014-08-26T10:23:15.401-04:00Thanks for reply. Looks like column order in the a...Thanks for reply. Looks like column order in the ancestry file is incorrect.<br />it has to be "ID", "Case", "SNPs", "EV1", "EV2", "AFR", "EUR", "ASN". At least my data supports that. what do you say?Gpcrhttps://www.blogger.com/profile/05826337360609407250noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-5375524601458744172014-08-22T17:55:06.131-04:002014-08-22T17:55:06.131-04:00R can filter the dataset (ancestry.txt) based on a...R can filter the dataset (ancestry.txt) based on any of the variables. For example, to create a new dataset with only individuals having >90 percent estimated European ancestry you can use the following one liner: data2 <- data[data$EUR>0.9,]. Hope this helps.Adminhttps://www.blogger.com/profile/01259871670672195666noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-83832349642203694652014-08-21T15:11:35.766-04:002014-08-21T15:11:35.766-04:00How to filter or select samples based on ancestry....How to filter or select samples based on ancestry.txt? Gpcrhttps://www.blogger.com/profile/05826337360609407250noreply@blogger.com