clean: Clean SNP Matrix

View source: R/calc_functions.R

cleanR Documentation

Clean SNP Matrix

Description

Removes duplicate SNPs and filters low MAF variants.

Usage

clean(SNPmat, MAF_threshold = 0.05)

Arguments

SNPmat

A sparse SNP matrix (dgCMatrix).

MAF_threshold

Minor Allele Frequency cutoff (default 0.05).


bravo documentation built on May 27, 2026, 5:08 p.m.