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.
filterMat(mat, filt = 0)
: matrix of counts
: filtering threshold in percentage
a cleaned matrix
Edi Prifti & Emmanuelle Le Chatelier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.