referenceProtein: Translate the unrearranged (reference) sequence

View source: R/fusion-utils.R

referenceProteinR Documentation

Translate the unrearranged (reference) sequence

Description

Translate the unrearranged (reference) sequence

Usage

referenceProtein(genome, cds, nms)

Arguments

genome

a BSgenome object

cds

a GRangesList of transcript CDS

nms

names of transcripts to translate

See Also

tumorProtein

Examples

library(BSgenome.Hsapiens.UCSC.hg19)
genome <- BSgenome.Hsapiens.UCSC.hg19
data(rear_cds, package="trellis")
unrear_cds <- fullTranscripts(rear_cds)
##
## referenceProtein
##
ref.proteins <- referenceProtein(genome, unrear_cds, names(unrear_cds))

cancer-genomics/trellis documentation built on Aug. 20, 2024, 5:48 p.m.