API reference#

HAMSTA#

Class#

HAMSTA([k, S_thres, intercept_blksize])

Heritability estimation from admixture mapping summary statistics

Functions#

HAMSTA.fit(S, intercept_design, N[, Z, ...])

Fit to compute likelihood and MLE

HAMSTA.compute_thres(fwer, U, S, intercept)

Compute significant threshold at given family-wise error rate

HAMSTA.to_dict()

Summarize estimation result in dict

HAMSTA.to_dataframe()

Summarize estimation result in dataframe

I/O#

read_sumstat(fname[, Z_colname])

Summary statistics reader

read_global_ancestry(fname, sample_colname, ...)

Global ancestry reader

read_rfmixfb(fname, ancestry[, exclude])

Reader for RFMIX .fb.tsv output

read_zarr(fname, ancestry[, exclude])

Reader for xarray stored in .zarr

Preprocess#

SVD(A[, Q, LAD, k])

SVD, with covariate and output options.