MSPQ_ranks: Computational genotype-trait classification.

View source: R/function_MSPQ_analysisV1_ONLY_RANK.R

MSPQ_ranksR Documentation

Computational genotype-trait classification.

Description

MSPQ_ranks computes the genotype-trait classification by days-of-measurement once the data preparation is done by MSPQ_tidy(). A Phi Index permutational analysis will be conducted if the measurements were repeated in the morning and in the afternoon in the same day-of-measurement. A spatial adjustment of the MultispeQ traits will be done if the user provides row/column coordinates.

Usage

MSPQ_ranks(
  out,
  perIter = 100,
  PerSeed = 123,
  spats = FALSE,
  row = NULL,
  column = NULL,
  pl.date = FALSE
)

Arguments

out

The list obtained by MSPQ_tidy.

perIter

Integer. Number of iterations to conduct on the Phi Index permutational analysis. 100 by default.

PerSeed

Integer. Randomization seed for the Phi Index permutational analysis. 123 by default.

spats

Logical. If spatial analysis is needed and row & column coordinates are provided. FALSE by default.

row

Character. Name of the row coordinate variable if spats = TRUE. NULL by default.

column

Character. Name of the column coordinate variable if spats = TRUE. NULL by default.

pl.date

Logical. Will a sampling date be provided? FALSE by default.

Value

A list with 11 elements if spats = TRUE. 9 otherwise.

Examples

## Not run: 
ranks <- MSPQ_ranks(out = tidy_data, perIter = 100, PerSeed = 123,
                    spats = FALSE, row = NULL, column = NULL,
                    pl.date = FALSE)

## End(Not run)

jssotob/RankspeQ documentation built on Jan. 31, 2024, 10:11 a.m.