gendata.core

A module containing functions and classes to facilitate the importing of genetic data.

Functions

elementwise_isin(array[, match_list])

Apply an isin operation elementwise for an array with respect to a list.

merge(*genotype_data)

Merge sets of genotype data for different chromosomes/loci from the same set of samples.

read_bed(paths[, rsids, individuals, ...])

Read raw genotypes into an annotated data frame.

Classes

AbstractGenoData(genotypes, snps, samples)

An abstract class for other genotype data classes to be based on.

IntGenoData(genotypes, snps, samples)

A class to hold and perform basic operations on integer genotype data.

StdGenoData(genotypes, snps, samples)

A class to hold and perform operations on standardised genotype data.