filter: Filter

Description Usage Arguments Details Value

View source: R/hello.R

Description

Function to filter lowly expressed genes

Usage

1
filter(x, nsamples, nreads)

Arguments

x

a matrix.

nsamples

number of samples.

nreads

number of reads.

Details

A gene is retained if it has at least nreads reads in at least nsamples samples.

Value

A logical vector indicating whether the gene has to be retained.


drisso/myfilter documentation built on May 19, 2017, 12:46 a.m.