##Welcome to Line by Tester Analysis

Binder

Here we learn on how to conduct Line by Tester analysis which is the most common design used by Plant Breeders to estimate Combining ability and Genetic variances.

Contents

Data Arrangement and Structure

Method 1

Method 2


Setup R for your Computer

R is a programming language and free software used for Statistical computation.

  1. Download and Install the R base package
  2. Next download and install the free version of R Studio which is user friendly interface for R.

Data Arrangement and Structure

To begin the analysis first arrange the data into four columns namely replication, line, tester and yield in an excel file.

Note that an additional coloumn of blocks has to be added if its Incomplete Block Design (IBD).

Importing data in R

After you have created your data file, paste it in your Working Directory. By default your working directory is Documents folder. We import the excel data file (Example: ltdata) by,

ltdata = read_excel("ltdata.xlsx")

Or

You can just click on Import dataset and select your excel file.

Viewing Imported data

View(ltdata)

Method 1

By agricolae package

install.packages('agricolae', dependencies=True)

library(agricolae)

str(ltdata)

Note: There are two example Line x Tester dataset in agricole package named as heterosis and LxT. You can load them by,

data(heterosis)

data(LxT)

result = with(ltdata,lineXtester(replication, line, tester, yield))

Results are displayed which can be copied and saved.

Analysing heterosis dataset.

result2 = with(heterosis,lineXtester(Replication, Female, Male, v1))

Method 2

By plantbreeding package

Line x Tester analysis by plantbreeding package

install.packages("plantbreeding", repos="http://R-Forge.R-project.org", dependencies= T)

library(plantbreeding)

View(linetester)

Note that dataset has two addtional coloumns genotypes and gclass. genotypes is the name of the cross or parent. Ex: 1x2, 2x3, 2, 3. gclass metions whether the genotypes is cross or a parent. Thus, we have to add two addtional coloumns to ltdata.

result3 <- line.tester(dataframe = linetester, yvar = "trait1", genotypes = "genotypes", replication = "replication", Lines = "Lines", Testers = "Tester", gclass = "gclass" ) print(result3)

ltresult = capture.output(print(result3), "ltresult.txt")

All the script can be found on Github

This is an open source webpage make your contribution and help us to improve.

Contact me for any query.

Author

Nandan L. Patil

patilnads@gmail.com

Sponsar this project

You can use the editor on GitHub to maintain and preview the content for your website in Markdown files.