GetResultPieActionEffect: Get Result for Composition of Action Effect

View source: R/TgView-part1.R

GetResultPieActionEffectR Documentation

Get Result for Composition of Action Effect

Description

This function focuses on one interaction pair and its detailed information(expression changes, gene-gene action effect), and get result from it.

Usage

GetResultPieActionEffect(
  object,
  limits.exprs.change = kexprs.change,
  limits.ext.action.effect = kpred.ext.action.effect,
  color.ext.action.effect = kpred.color.ext.effect,
  legend.title = "Action Effect",
  legend.title.size = element_text(size = 14),
  legend.key.size = unit(7, "mm"),
  legend.text.size = element_text(size = 12),
  legend.box.margin = margin(0, 0, 0, 6),
  show.note = TRUE,
  note.label.size = 3,
  note.lineheight = 1,
  note.postion.xy = c(0.5, 0.5),
  note.hjust = 0.5,
  note.vjust = 0.5
)

Arguments

object

A InterCell object, which is created by CreateInterCellObject.

limits.exprs.change

Options are 'Xup.Yup', 'Xup.Ydn', 'Xdn.Yup', 'Xdn.Ydn'. It selects the part of result to be shown.

limits.ext.action.effect

Options are listed in kpred.ext.action.effect. It specifies the range of shown extended action effect.

color.ext.action.effect

The colors to be used. It is one-to-one matching with limits.ext.action.effect.

legend.title

The content of legend title.

legend.title.size

The size of legend title.

legend.key.size

The size of keys in legend.

legend.text.size

The size of legend text.

legend.box.margin

The margin of legend box, and should be given in margin(). See ?margin for further help.

show.note

If set TRUE, the note will be shown in the graph.

note.label.size

Numeric. The size of note label.

note.lineheight

Numeric. The lineheight of note.

note.postion.xy

The position of note, should be 2 numbers that give the coordinate. Allowed range is (0~1, 0~1).

note.hjust

The horizontal alignment of note. Allowed range is 0~1.

note.vjust

The vertical alignment of note. Allowed range is 0~1.

Value

A list. Use Tool.ShowGraph() to see the plot, Tool.WriteTables() to save the result table in .csv files.

  • plot: NULL.

  • grid.plot: the graph.

  • table: a list of data.frame.


ZJUDBlab/InterCellDB documentation built on March 19, 2023, 4:56 p.m.