Learn R Programming

⚠️There's a newer version (1.14.2) of this package.Take me there.

metagenomeSeq

Statistical analysis for sparse high-throughput sequencing

metagenomeSeq is designed to determine features (be it Operational Taxanomic Unit (OTU), species, etc.) that are differentially abundant between two or more groups of multiple samples. metagenomeSeq is designed to address the effects of both normalization and undersampling of microbial communities on disease association detection and the testing of feature correlations.

To install the latest release version of metagenomeSeq:

source("http://bioconductor.org/biocLite.R")
biocLite("metagenomeSeq")

To install the latest development version of metagenomeSeq:

install.packages("devtools")
library("devtools")
install_github("metagenomeSeq","nosson")

Author: Joseph Nathaniel Paulson, Mihai Pop, Hector Corrada Bravo

Maintainer: Joseph N. Paulson : jpaulson at umiacs.umd.edu

Website: www.cbcb.umd.edu/software/metagenomeSeq

Copy Link

Version

Version

1.10.0

License

Artistic-2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Joseph N Paulson

Last Published

February 15th, 2017

Functions in metagenomeSeq (1.10.0)

cumNormStat

Cumulative sum scaling percentile selection
biom2MRexperiment

Biome to MRexperiment objects
aggregateBySample

Aggregates a MRexperiment object or counts matrix to by a factor.
calculateEffectiveSamples

Estimated effective samples per feature
correlationTest

Correlation of each row of a matrix or MRexperiment object
aggregateByTaxonomy

Aggregates a MRexperiment object or counts matrix to a particular level.
cumNormMat

Cumulative sum scaling factors.
cumNorm

Cumulative sum scaling normalization
calcNormFactors

Cumulative sum scaling normalization factors Return a vector of the the sum up to and including a quantile.
correctIndices

Calculate the correct indices for the output of correlationTest
cumNormStatFast

Cumulative sum scaling percentile selection
expSummary

Access MRexperiment object experiment data
fitDO

Wrapper to calculate Discovery Odds Ratios on feature values.
exportStats

Various statistics of the count data.
filterData

Filter datasets according to no. features present in features with at least a certain depth.
fitLogNormal

Computes a log-normal linear model and permutation based p-values.
doEStep

Compute the Expectation step.
doZeroMStep

Compute the zero Maximization step.
doCountMStep

Compute the Maximization step calculation for features still active.
exportMat

Export the normalized MRexperiment dataset as a matrix.
getPi

Calculate the mixture proportions from the zero model / spike mass model residuals.
getCountDensity

Compute the value of the count density function from the count model residuals.
getNegativeLogLikelihoods

Calculate the negative log-likelihoods for the various features given the residuals.
getZ

Calculate the current Z estimate responsibilities (posterior probabilities)
fitTimeSeries

Discover differentially abundant time intervals
fitZig

Computes the weighted fold-change estimates and t-statistics.
isItStillActive

Function to determine if a feature is still active.
fitSSTimeSeries

Discover differentially abundant time intervals using SS-Anova
fitPA

Wrapper to run fisher's test on presence/absence of a feature.
getEpsilon

Calculate the relative difference between iterations of the negative log-likelihoods.
mouseData

OTU abundance matrix of mice samples from a diet longitudinal study
metagenomeSeq-package

Statistical analysis for sparse high-throughput sequencing
uniqueFeatures

Table of features unique to a group
load_meta

Load a count dataset associated with a study.
trapz

Trapezoidal Integration Compute the area of a function with values 'y' at the points 'x'. Function comes from the pracma package.
load_metaQ

Load a count dataset associated with a study set up in a Qiime format.
plotBubble

Basic plot of binned vectors.
plotClassTimeSeries

Plot abundances by class
plotOrd

Plot of either PCA or MDS coordinates for the distances of normalized or unnormalized counts.
plotOTU

Basic plot function of the raw or normalized data.
lungData

OTU abundance matrix of samples from a smoker/non-smoker study
load_phenoData

Load a clinical/phenotypic dataset associated with a study.
newMRexperiment

Create a MRexperiment object
normFactors

Access the normalization factors in a MRexperiment object
plotGenus

Basic plot function of the raw or normalized data.
plotMRheatmap

Basic heatmap plot function for normalized counts.
ssPerm

class permutations for smoothing-spline time series analysis Creates a list of permuted class memberships for the time series permuation tests.
ssPermAnalysis

smoothing-splines anova fits for each permutation
MRcoefs

Table of top-ranked microbial marker gene from linear model fit
metagenomeSeq-deprecated

Depcrecated functions in the metagenomeSeq package.
makeLabels

Function to make labels simpler
MRcounts

Accessor for the counts slot of a MRexperiment object
plotCorr

Basic correlation plot function for normalized or unnormalized counts.
plotFeature

Basic plot function of the raw or normalized data.
ssFit

smoothing-splines anova fit
ssIntervalCandidate

calculate interesting time intervals Calculates time intervals of interest using SS-Anova fitted confidence intervals.
libSize

Access sample depth of coverage from MRexperiment object
load_biom

Load objects organized in the Biome format.
MRexperiment

Class "MRexperiment" -- a modified eSet object for the data from high-throughput sequencing experiments
plotRare

Plot of rarefaction effect
MRexperiment2biom

MRexperiment to biom objects
plotTimeSeries

Plot difference function for particular bacteria
MRfulltable

Table of top microbial marker gene from linear model fit including sequence information
returnAppropriateObj

Check if MRexperiment or matrix and return matrix
zigControl

Settings for the fitZig function
MRtable

Table of top microbial marker gene from linear model fit including sequence information
posteriorProbs

Access the posterior probabilities that results from analysis