setGenomicSequences: Change the underlying genomic sequences of a...

setGenomicSequencesR Documentation

Change the underlying genomic sequences of a ProteoDiscography object.

Description

Change the underlying genomic sequences of a ProteoDiscography object.

Usage

setGenomicSequences(x, genomeSeqs)

## S4 method for signature 'ProteoDiscography'
setGenomicSequences(x, genomeSeqs)

Arguments

x

(ProteoDiscography): ProteoDiscography object.

genomeSeqs

(DNAStringSet or BSgenome): Genomic sequence of the respective genome.

Value

ProteoDiscography with updated genomic sequences.

Examples


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

summary(ProteoDiscographyExample.hg19)


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