Learn R Programming

metagenomeSeq (version 1.14.0)

uniqueFeatures: Table of features unique to a group

Description

Creates a table of features, their index, number of positive samples in a group, and the number of reads in a group. Can threshold features by a minimum no. of reads or no. of samples.

Usage

uniqueFeatures(obj, cl, nsamples = 0, nreads = 0)

Arguments

obj
Either a MRexperiment object or matrix.
cl
A vector representing assigning samples to a group.
nsamples
The minimum number of positive samples.
nreads
The minimum number of raw reads.

Value

Table of features unique to a group

Examples

Run this code
data(mouseData)
head(uniqueFeatures(mouseData[1:100,],cl=pData(mouseData)[,3]))

Run the code above in your browser using DataLab