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("Bioconductor-mirror/metagenomeSeq")

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

Maintainer: Joseph N. Paulson : jpaulson at jimmy.harvard.edu

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

Copy Link

Version

Version

1.14.0

License

Artistic-2.0

Issues

Pull Requests

Stars

Forks

Last Published

February 15th, 2017

Functions in metagenomeSeq (1.14.0)

calcPosComponent

Positive component
cumNormStat

Cumulative sum scaling percentile selection
filterData

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

Cumulative sum scaling percentile selection
plotFeature

Basic plot function of the raw or normalized data.
fitDO

Wrapper to calculate Discovery Odds Ratios on feature values.
biom2MRexperiment

Biom to MRexperiment objects
calcNormFactors

Cumulative sum scaling (css) normalization factors
cumNormMat

Cumulative sum scaling factors.
cumNorm

Cumulative sum scaling normalization
fitPA

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

Discover differentially abundant time intervals using SS-Anova
exportMat

Export the normalized MRexperiment dataset as a matrix.
aggregateBySample

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

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

Various statistics of the count data.
doZeroMStep

Compute the zero Maximization step.
expSummary

Access MRexperiment object experiment data
calcShrinkParameters

Calculate shrinkage parameters
fitTimeSeries

Discover differentially abundant time intervals
fitZig

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

Compute the log fold-change estimates for the zero-inflated log-normal model
getCountDensity

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

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

Depcrecated functions in the metagenomeSeq package.
getNegativeLogLikelihoods

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

OTU abundance matrix of mice samples from a diet longitudinal study
MRcoefs

Table of top-ranked features from fitZig or fitFeatureModel
MRtable

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

Create a MRexperiment object
calcZeroAdjustment

Calculate the zero-inflated component's adjustment factor
doCountMStep

Compute the Maximization step calculation for features still active.
calcZeroComponent

Zero component
load_biom

Load objects organized in the Biom format.
load_meta

Load a count dataset associated with a study.
doEStep

Compute the Expectation step.
calcStandardError

Calculate the zero-inflated log-normal statistic's standard error
calculateEffectiveSamples

Estimated effective samples per feature
correlationTest

Correlation of each row of a matrix or MRexperiment object
correctIndices

Calculate the correct indices for the output of correlationTest
plotGenus

Basic plot function of the raw or normalized data.
ssPermAnalysis

smoothing-splines anova fits for each permutation
trapz

Trapezoidal Integration
getPi

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

Calculate the current Z estimate responsibilities (posterior probabilities)
lungData

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

MRexperiment to biom objects
makeLabels

Function to make labels simpler
ssIntervalCandidate

calculate interesting time intervals
MRfulltable

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

class permutations for smoothing-spline time series analysis
MRcounts

Accessor for the counts slot of a MRexperiment object
MRexperiment

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

Access the normalization factors in a MRexperiment object
plotBubble

Basic plot of binned vectors.
plotOTU

Basic plot function of the raw or normalized data.
plotRare

Plot of rarefaction effect
plotOrd

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

Basic heatmap plot function for normalized counts.
metagenomeSeq-package

Statistical analysis for sparse high-throughput sequencing
plotCorr

Basic correlation plot function for normalized or unnormalized counts.
plotClassTimeSeries

Plot abundances by class
returnAppropriateObj

Check if MRexperiment or matrix and return matrix
ssFit

smoothing-splines anova fit
fitFeatureModel

Computes differential abundance analysis using a zero-inflated log-normal model
isItStillActive

Function to determine if a feature is still active.
fitLogNormal

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

Access sample depth of coverage from MRexperiment object
load_metaQ

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

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

Plot difference function for particular bacteria
posteriorProbs

Access the posterior probabilities that results from analysis
zigControl

Settings for the fitZig function
uniqueFeatures

Table of features unique to a group