setTxDb: Change the underlying TxDb of a ProteoDiscography object.

setTxDbR Documentation

Change the underlying TxDb of a ProteoDiscography object.

Description

Change the underlying TxDb of a ProteoDiscography object.

Usage

setTxDb(x, TxDb)

## S4 method for signature 'ProteoDiscography'
setTxDb(x, TxDb)

Arguments

x

(ProteoDiscography): ProteoDiscography object.

TxDb

(TxDb): TxDb object containing the genomic and transcript annotations.

Value

ProteoDiscography with updated TxDb.

Examples


# Import example ProteoDiscography (hg19) and re-link TxDb.
data('ProteoDiscographyExample.hg19', package = 'ProteoDisco')
ProteoDiscographyExample.hg19 <- setTxDb(ProteoDiscographyExample.hg19, TxDb.Hsapiens.UCSC.hg19.knownGene::TxDb.Hsapiens.UCSC.hg19.knownGene)

summary(ProteoDiscographyExample.hg19)


ErasmusMC-CCBC/ProteoDisco documentation built on Dec. 9, 2022, 8:41 a.m.