cavasup.blogg.se

Example split split plot asreml heritabilities
Example split split plot asreml heritabilities











data( "wheatChl") wheatTD <- createTD( data = wheatChl, genotype = "trt", repId = "rep", subBlock = "bl", rowCoord = "row", colCoord = "col") # Create a TD object containing the data from Santa Rosa. This function works in exactly the same way as createTD except that it adds data to an existing TD object instead of creating a new one.ĭropping one or more trials from a TD object can be done using the function dropTD. However if the data consists of multiple trials it is more convenient to first create a TD object without meta data and then add meta data using the getMeta and setMeta functions (see 2.3).Īfter creating a TD object, data for new trials can be added to it using addTD. Meta data can be added when creating the TD object using the appropriate parameters in createTD (see 2.4). However the meta data is used when plotting field layouts, plotting trials on a map and naming plots.

example split split plot asreml heritabilities

None of these are strictly neccessary for any analysis and meta data can therefore be safely ignored.

#Example split split plot asreml heritabilities trial

It consists of location, date of the experiment, longitude, latitude, trial design, plot width and plot length. This meta data is used to store background information about the trials. If there is only one trial or no column trial is defined, the output will be a list with only one item. A TD object is a list of ames where each ame contains the data for a single trial.

example split split plot asreml heritabilities

Split the data into separate ames by trial.

example split split plot asreml heritabilities

For example, the column “genotype” is converted to a factor and “rowCoord” to a numeric column.

  • Convert column types to the default column types.
  • Original column names are stored as an attribute of the TD object. For example, the column in the data containing variety/accession/genotype is renamed to “genotype”.
  • Rename columns to default column names used by the functions in the statgenSTA package.
  • A TD object can be created from a ame with the function createTD.











    Example split split plot asreml heritabilities