Rdocumentation
powered by
Learn R Programming
momr (version 1.1)
filterMat: 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
Value
a cleaned matrix
Details
filterMat