join-methods: join

Description Usage Arguments Value Author(s) Examples

Description

Join a TargetRelations object and a Phenotype object

Usage

1
2
3
4
join(targets, phenotypes)

## S4 method for signature 'TargetRelations,Phenotypes'
join(targets, phenotypes)

Arguments

targets

A TargetRelations object.

phenotypes

A Phenotypes object.

Value

List containing the matched targets and phenotypes

Author(s)

Fabian Schmich

Examples

1
2
3
4
5
6
7
phenos <- Phenotypes(system.file("extdata", "Phenotypes_screen_A.txt", package = "gespeR"),
type = "SSP",
col.id = 1,
col.score = 2)
trels <- TargetRelations(readRDS(system.file("extdata", "TR_screen_A.rds", package = "gespeR")))
phenos <- phenos[1:17]
stripped_down <- join(targets = trels, phenotypes = phenos)

gespeR documentation built on Nov. 8, 2020, 5:35 p.m.