filter_nonzero: Vectorized filter function in the spirit of k over a

Description Usage Arguments Value

Description

We want to keep only those rows / cols that have many values above some threshold.

Usage

1
filter_nonzero(X, a = 20, q = 0.9)

Arguments

X

A matrix whose rows want to filter.

a

The threshold expression value.

q

A quantile for the number of samples above the threshold, determining which samples we keep. So, only samples with many samples above a will be returned.

Value

ix The indices for the rows to keep.


krisrs1128/phyloseqExtend documentation built on May 20, 2019, 1:31 p.m.