getSNPs¶
-
craft.getSNPs.get_index_snps_cm(df, alpha, distance, mhc, maps)[source]¶ Return a dataframe of index SNPs (with p > alpha)
This function selects the SNP with the lowest p value > alpha, adds it to the list of index SNPs, discards everything within ‘distance’ range.
-
craft.getSNPs.get_locus_snps(snps, index, distance_unit)[source]¶ Create dataframe of SNPs near index SNPs.