Application of ANOVA for Plant Breeding: Single Marker Analysis Example using ANOVA in a Balanced Population (Sample SAS Program)

Plant Breeding and Genomics January 31, 2012 Print Friendly and PDF

Author:

David M. Francis, The Ohio State University

This page provides a sample SAS program used to analyze molecular marker data using ANOVA for single marker analysis. Two molecular markers are evaluated to determine whether genotype of each molecular marker results in differences in disease severity in a BC1 population.

This module provides an example of using analysis of variance (ANOVA) to assess differences in tomato bacterial spot resistance due to molecular marker genotype (treatment effect) to determine whether genotype of each molecular marker results in differences in disease severity in a BC1 population.

The following links provide:

SAS Code

The SAS code is presented in two ways:

  • As a screenshot taken from SAS after the code has been entered (Fig.1)
  • As plain text

Figure 1. SAS Screenshot taken after SAS code for analysis of variance in a balanced population was entered. Screenshot credit: David Francis, The Ohio State University.

Plain Text SAS Code

data map;
     infile 'a:\lnkspt.csv'; delimiter = "," firstobs = 4;
     input gen vsc pop tg23 pto;
proc sort;
     by tg23;
proc glm;
     class tg23;
     model pop = tg23;
     means tg23 / lsd lines;
proc sort;
     by pto;
proc glm;
     class pto;
     model pop = pto;
     means pto / lsd lines;
run;

Funding Statement

Development of this page was supported in part by the National Institute of Food and Agriculture (NIFA) Solanaceae Coordinated Agricultural Project, agreement 2009-85606-05673, administered by Michigan State University. Any opinions, findings, conclusions, or recommendations expressed in this publication are those of the author(s) and do not necessarily reflect the view of the United States Department of Agriculture.

PBGworks 906

Connect with us

  • Twitter
  • Facebook
  • YouTube

Welcome

This is where you can find research-based information from America's land-grant universities enabled by eXtension.org

LOCATE

USDA / NIFA

This work is supported by the USDA National Institute of Food and Agriculture, New Technologies for Ag Extension project.