values {gespeR} | R Documentation

## values

### Description

Retrieve the numeric values from a `TargetRelations` or `Phenotypes` object

### Usage

    values(object)

    ## S4 method for signature 'TargetRelations'
    values(object)

    ## S4 method for signature 'Phenotypes'
    values(object)

### Arguments

`object` | A `TargetRelations` or `Phenotypes` object

### Value

A `Matrix` object

### Author(s)

Fabian Schmich

### Examples

    trels <- TargetRelations(readRDS(system.file("extdata", "TR_screen_A.rds", package = "gespeR")))
    values(trels)[1:5, 1:5]
    phenos <- Phenotypes(system.file("extdata", "Phenotypes_screen_A.txt", package = "gespeR"),
    type = "SSP",
    col.id = 1,
    col.score = 2)
    values(phenos)

[Package gespeR version 1.18.0 Index]