plotProtein: Display protein domains

View source: R/plotProtein.R

plotProteinR Documentation

Display protein domains

Description

Display protein domains

Usage

plotProtein(
  gene,
  refSeqID = NULL,
  proteinID = NULL,
  domainAlpha = 0.9,
  showLegend = FALSE,
  bgBorderCol = "black",
  axisTextSize = c(1, 1),
  roundedRect = TRUE,
  domainBorderCol = "black",
  showDomainLabel = TRUE,
  domainLabelSize = 0.8,
  titleSize = c(1.2, 1),
  legendTxtSize = 1,
  legendNcol = 1
)

Arguments

gene

HGNC symbol for which protein structure to be drawn.

refSeqID

RefSeq transcript identifier for gene if known.

proteinID

RefSeq protein identifier for gene if known.

domainAlpha

Default 1

showLegend

Default TRUE

bgBorderCol

Default "black". Set to NA to remove.

axisTextSize

text size x and y tick labels. Default c(1,1).

roundedRect

Default TRUE. If 'TRUE' domains are drawn with rounded corners. Requires berryFunctions

domainBorderCol

Default "black". Set to NA to remove.

showDomainLabel

Default TRUE

domainLabelSize

text size for domain labels. Default 0.8

titleSize

font size for title and subtitle. Default c(1.2, 1)

legendTxtSize

Text size for legend. Default 0.8

legendNcol

Default 1

Examples

par(mfrow = c(2, 1))
plotProtein(gene = "KIT")
plotProtein(gene = "DNMT3A")

PoisonAlien/maftools documentation built on Nov. 5, 2024, 4:12 p.m.