setTxDb {ProteoDisco}R 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)


[Package ProteoDisco version 1.0.0 Index]