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 June 9, 2026, 9:06 a.m.