R/center_kinship.R
center_kinship.Rd
Center a relatedness matrix, after Zhou's GEMMA function CenterMatrix
center_kinship(mat)
mat | a relatedness matrix |
---|
a centered relatedness matrix
readr::read_tsv(system.file("extdata", "mouse100.cXX.txt", package = "gemma2"), col_names = FALSE)[, 1:100] -> kinship#> #>