Description Usage Arguments Details Value
Parse the keep/remove/extract/exclude/chr options
1 2 3 4 5 6 7 8 9 10 |
bfile |
plink file stem |
extract |
SNPs to extract |
exclude |
SNPs to exclude |
keep |
samples to keep |
remove |
samples to remove |
chr |
a vector of chromosomes |
export |
Logical. Whether to include the |
order.important |
Logical. Whether to strictly enforce that the order of |
keep
and remove
can take one of three
formats:
A logical vector indicating which indivduals to keep/remove,
A data.frame
with two columns giving the FID and IID of the indivdiuals to keep/remove (matching those in the .fam file), or
A character scalar giving the text file with the FID/IID.
Note that these files should not contain headers.
extract
and exclude
can be of format type (1) or (3) describe above, or a character vector of SNP ids (matching those in the .bim file).
A list containing:
keep |
Either NULL or a logical vector of which individuals to keep |
extract |
Either NULL or a logical vector of which SNPs to extract |
N |
Number of rows in the PLINK bfile |
P |
Number of columns in the PLINK bfile |
n |
Number of rows in the PLINK bfile after keep |
p |
Number of columns in the PLINK bfile after extract |
bfile |
File path to bfile stub |
bimfile |
File path to bim file |
famfile |
File path to fam file |
bim |
Either |
fam |
Either |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.