Learn R Programming

gespeR (version 1.4.2)

values: values

Description

Retrieve the numeric values from a TargetRelations or Phenotypes object

Usage

values(object)

## S3 method for class 'TargetRelations': values(object)

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

Arguments

object
A TargetRelations or Phenotypes object

Value

Examples

Run this code
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)

Run the code above in your browser using DataLab