cellregmap.run_association

cellregmap.run_association(y, W, E, G, hK=None)[source]

Association test.

Test for persistent genetic effects.

Compute p-values using a likelihood ratio test.

Parameters
  • y (array) – Phenotype

  • W (array) – Fixed effect covariates

  • E (array) – Cellular contexts

  • G (array) – Genotypes (expanded)

  • hK (array) – decompositon of kinship matrix (expanded)

Returns

pvalues – P-values.

Return type

ndarray