Description Usage Arguments Details Value Note
Note that this is a low-level command. For applying estimated betas to new bfiles, refer to https://github.com/tshmak/lassosum#apply-validated-betas-to-new-data
1 2 3 4 5 6 7 8 |
bfile |
A plink bfile stem |
weights |
The weights for the SNPs (β) |
keep |
samples to keep (see |
extract |
SNPs to extract (see |
exclude |
SNPs to exclude (see |
remove |
samples to remove (see |
chr |
a vector of chromosomes |
cluster |
A |
trace |
Level of output |
sparse |
Assumes sparse weights matrix |
A function to calculate Xβ where X is the genotype matrix in the plink bfile.
A matrix of Polygenic Scores
Missing genotypes are interpreted as having the homozygous A2 alleles in the
PLINK files (same as the --fill-missing-a2
option in PLINK).
The number of rows in weights
should be the same as the number of
SNPs in the bfile after extract/exclude/chr.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.