Learn R Programming

gespeR (version 1.4.2)

scores: scores

Description

Return a named vector of phenotype scores

Usage

## S3 method for class 'Phenotypes':
scores(object)

## S3 method for class 'gespeR': scores(object, type = c("GSP", "SSP"))

Arguments

object
A gespeR or Phenotypes object
type
The type of phenotype scores (GSP, SSP)

Value

  • A named vector of scores for each phenotype identifier

See Also

gespeR

Phenotypes

Examples

Run this code
data(stabilityfits)
scores(stabilityfits$A)

Run the code above in your browser using DataLab