Description Usage Arguments Value Author(s)
Read genotypes from PLINK bed file into R
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | readBed(rbed_info, snp_vec, fid_iid = TRUE, snp_names_as_colnames = TRUE)
## S4 method for signature 'RbedInfoC,ANY,logical,logical'
readBed(rbed_info, snp_vec,
fid_iid = TRUE, snp_names_as_colnames = TRUE)
## S4 method for signature 'RbedInfoC,missing,missing,missing'
readBed(rbed_info, snp_vec,
fid_iid = TRUE, snp_names_as_colnames = TRUE)
## S4 method for signature 'RbedInfoC,ANY,missing,missing'
readBed(rbed_info, snp_vec,
fid_iid = TRUE, snp_names_as_colnames = TRUE)
## S4 method for signature 'RbedInfoC,missing,logical,missing'
readBed(rbed_info, snp_vec,
fid_iid = TRUE, snp_names_as_colnames = TRUE)
## S4 method for signature 'RbedInfoC,ANY,logical,missing'
readBed(rbed_info, snp_vec,
fid_iid = TRUE, snp_names_as_colnames = TRUE)
## S4 method for signature 'RbedInfoC,missing,missing,logical'
readBed(rbed_info, snp_vec,
fid_iid = TRUE, snp_names_as_colnames = TRUE)
## S4 method for signature 'RbedInfoC,ANY,missing,logical'
readBed(rbed_info, snp_vec,
fid_iid = TRUE, snp_names_as_colnames = TRUE)
## S4 method for signature 'RbedInfoC,missing,logical,logical'
readBed(rbed_info, snp_vec,
fid_iid = TRUE, snp_names_as_colnames = TRUE)
|
rbed_info |
RbedInfoC object |
snp_vec |
numeric. Vector of SNP index. Either row numbers in the bim file or a vector of SNP names. |
fid_iid |
logical. Whether the FID and IID columns should be included. |
snp_names_as_colnames |
logical. Whether SNP names should be used as colnames in the returned data frame |
data.frame Genotype data from bed file.
Kaiyin Zhong, Fan Liu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.