shclust: Implement the EM algorithm for the SlopeHunter model-based...

View source: R/SH-utils.R

shclustR Documentation

Implement the EM algorithm for the SlopeHunter model-based clustering

Description

Implement the EM algorithm for the SlopeHunter model-based clustering

Usage

shclust(gwas, pi0, sxy1)

Arguments

gwas

a data frame with columns: xbeta; xse; ybeta; yse.

pi0

initial value for the weight of the mixture component that represents the cluster of SNPs affecting x only.

sxy1

initial value for the covariance between x and y.

Value

EM fit for SlopeHunter estimator


Osmahmoud/SlopeHunter documentation built on Oct. 7, 2022, 4:38 p.m.