Skip to content

Add support for GWAS data in Plink format#774

Open
mnwright wants to merge 3 commits intomasterfrom
plink
Open

Add support for GWAS data in Plink format#774
mnwright wants to merge 3 commits intomasterfrom
plink

Conversation

@mnwright
Copy link
Member

This should be as fast as using the GenABEL interface but with Plink BED/BIM/FAM files.

Example:

ranger(y ~., pheno, plink.file.prefix = "path_to_plink_data")

or

ranger(y = y, x = x, plink.file.prefix = "path_to_plink_data")

or without covariates except SNPs

ranger(y = y, plink.file.prefix = "path_to_plink_data")

Prediction works similarly:

predict(rf, pheno, plink.file.prefix = "path_to_plink_data")

or

predict(rf, plink.file.prefix = "path_to_plink_data")

Please try it out and report any issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant