Skip to main content
U.S. flag

An official website of the United States government

Here’s how you know

Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

HTTPS

Secure .gov websites use HTTPS
A lock (LockA locked padlock) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

    • Environmental Topics
    • Air
    • Bed Bugs
    • Cancer
    • Chemicals, Toxics, and Pesticide
    • Emergency Response
    • Environmental Information by Location
    • Health
    • Land, Waste, and Cleanup
    • Lead
    • Mold
    • Radon
    • Research
    • Science Topics
    • Water Topics
    • A-Z Topic Index
    • Laws & Regulations
    • By Business Sector
    • By Topic
    • Compliance
    • Enforcement
    • Laws and Executive Orders
    • Regulations
    • Report a Violation
    • Environmental Violations
    • Fraud, Waste or Abuse
    • About EPA
    • Our Mission and What We Do
    • Headquarters Offices
    • Regional Offices
    • Labs and Research Centers
    • Planning, Budget, and Results
    • Organization Chart
    • EPA History

Breadcrumb

  1. Home
  2. Causal Analysis/Diagnosis Decision Information System (CADDIS)

Using Taxon-Environment Relationships: Assign Operational Taxonomic Units

  • Introduction
  • Using Taxon- Environment Relationships
  • Estimating Taxon-Environment Relationships
  • Computing Inferences
  • R Scripts

Assign Operational Taxonomic Units (OTUs)

Helpful Links
Topics In Using Taxon-Environment Relationships
  • Overview
  • Download Files and Set Up R
  • Standardize Taxonomy
  • Assign OTUs
  • Compute Biological Inferences

PECBO Appendix Site Map

Operational taxonomic units (OTUs) are assigned to the taxa observed in the local benthic data. OTUs are required for two reasons. First, taxon-environment relationships are only available for a subset of the taxa. For example, if a taxon-environment relationship is not available for a particular species, information might be available at the genus level. The OTU for that species would then be downgraded to a genus-level identification. Second, OTUs are assigned to prevent double-counting particular individuals. For example, if a species is identified as being present in a sample, we would want to ensure that coarser taxonomic identifications (e.g., genus or family) for that same individual are not accounted for separately.

Instructions for assigning OTUs:

  1. Check that you have loaded the biological inference library and a taxon-environment coefficient file.

    To load the biological inference library, type at the R prompt:

    library(bio.infer)

    A file starting with coef (e.g., coef.west.wt) should have been loaded when you set up your workspace (see Step 6 on the Download Files and Set Up R page).

  2. Run the R script that assigns OTU.Type at the R prompt:

    bcnt.otu <- get.otu(bcnt.tax, coef.west.wt)

    This command runs the R script get.otu and stores the results in the data frame bcnt.otu. Two data sets are required as input to the script, the benthic count file with taxonomic hierarchy information that is output from get.taxonomic (e.g., bcnt.tax) and the list of taxa names for which taxon-environment information is available. The list of taxa names is a field in each coef file and is accessed by the script.

  3. A summary table of the assigned OTUs is provided is provided in sum.otu.txt. This file can be reviewed using any spreadsheet or text viewer.

    From the spreadsheet, the user can manually edit the sum.otu.txt file if desired. The revised file should be saved as tab-delimited text. Then from the R command line, type the following command:

    bcnt.otu.revised <- load.revised.otu()

    The script will prompt you to enter the name of the text file where you have saved the changes to the OTU designations (e.g., sum.otu.txt), and it will prompt you to enter the name of the original benthic count file with assigned OTUs (e.g., bcnt.otu). The revised benthic count OTU file is saved as bcnt.otu.revised.

Causal Analysis/Diagnosis Decision Information System (CADDIS)

  • CADDIS Home
    • About CADDIS
    • Frequent Questions
    • Publications
    • Recent Additions
    • Related Links
    • CADDIS Glossary
  • Volume 1: Stressor Identification
    • About Causal Assessment
    • Getting Started
    • Step 1. Define the Case
    • Step 2. List Candidate Causes
    • Step 3. Evaluate Data from the Case
    • Step 4. Evaluate Data from Elsewhere
    • Step 5. Identify Probable Causes
  • Volume 2: Sources, Stressors and Responses
    • About Sources
      • Urbanization
    • About Stressors
  • Volume 3: Examples and Applications
    • Analytical Examples
    • Worksheet Examples
    • State Examples
    • Case Studies
    • Galleries
  • Volume 4: Data Analysis
    • Selecting an Analysis Approach
    • Getting Started
    • Basic Principles & Issues
    • Exploratory Data Analysis
    • Basic Analyses
    • Advanced Analyses
    • PECBO Appendix
    • Download Software
    • Data Analysis Topics (A -Z)
  • Volume 5: Causal Databases
    • Learn about CADLink
Contact Us about CADDIS
Contact Us to ask a question, provide feedback, or report a problem.
Last updated on February 7, 2025
  • Assistance
  • Spanish
  • Arabic
  • Chinese (simplified)
  • Chinese (traditional)
  • French
  • Haitian Creole
  • Korean
  • Portuguese
  • Russian
  • Tagalog
  • Vietnamese
United States Environmental Protection Agency

Discover.

  • Accessibility Statement
  • Budget & Performance
  • Contracting
  • EPA www Web Snapshot
  • Grants
  • No FEAR Act Data
  • Plain Writing
  • Privacy
  • Privacy and Security Notice

Connect.

  • Data
  • Inspector General
  • Jobs
  • Newsroom
  • Regulations.gov
  • Subscribe
  • USA.gov
  • White House

Ask.

  • Contact EPA
  • EPA Disclaimers
  • Hotlines
  • FOIA Requests
  • Frequent Questions
  • Site Feedback

Follow.