join

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.