filterMat: filterMat

View source: R/filtering.R

filterMatR Documentation

filterMat

Description

This function filters a matrix (mat) based on the rate of positive value (filt) in each individual under a given degree of presence (filt), all sparse values are put to 0.

Usage

filterMat(mat, filt = 0)

Arguments

mat

: matrix of counts

filt

: filtering threshold in percentage

Details

filterMat

Value

a cleaned matrix

Author(s)

Edi Prifti & Emmanuelle Le Chatelier


eprifti/momr documentation built on Sept. 27, 2022, 3:36 a.m.