Read a SSD file and return a genotype matrix.
Get_Genotypes_SSD(SSD_INFO, Set_Index, is_ID = TRUE)
Get_Genotypes_SSD_Sparse(SSD_INFO, Set_Index)
A genotype matrix with n rows and m columns, where n is the number of samples and m is the number of SNPs. Get_Genotypes_SSD_Sparse returns a sparse matrix. Get_Genotypes_SSD_Sparse always returns SNP IDs as the column names, so does not have is_ID parameter.
SSD_INFO object returned from Open_SSD.
a numeric value of Set index. The set index of each set can be found from SetInfo object of SSD.INFO.
a logical value indicating whether to read SNP ID (default=TRUE). If TRUE, it reads SNP IDs and use them as column names.
Seunggeun Lee, Larisa Miropolsky