plot_bi_FRmatch: Plotting function for bi-directional FR-Match results

View source: R/plot_bi_FRmatch.R

plot_bi_FRmatchR Documentation

Plotting function for bi-directional FR-Match results

Description

This function combines and plots two sets of reciprocal FRmatch results (i.e. experiment 1 (E1) query to experiment 2 (E2) reference with E2 markers, and E2 query to E1 reference with E1 markers).

Usage

plot_bi_FRmatch(
  rst.FRmatch.E1toE2,
  rst.FRmatch.E2toE1,
  prefix = c("query.", "ref."),
  name.E1 = "E1.",
  name.E2 = "E2.",
  p.adj.method = "BY",
  sig.level = 0.05,
  reorder = TRUE,
  two.way.only = FALSE,
  return.value = FALSE,
  cellwidth = 10,
  cellheight = 10,
  main = NULL,
  filename = NA,
  ...
)

Arguments

rst.FRmatch.E1toE2, rst.FRmatch.E2toE1

The FRmatch outputs.

prefix

Prefix names for query and reference clusters used in FRmatch.

name.E1, name.E2

Customized names with delimiter for E1 and E2 to be used in this figure. Default: "E1." and "E2.", respectively.

p.adj.method

See plot_FRmatch.

sig.level

See plot_FRmatch.

reorder

See plot_FRmatch.

two.way.only

Boolean variable indicating if to plot two-way matches only. Default: FALSE.

return.value

Boolean variable indicating if to return the plotted values. Default: FALSE.

cellwidth, cellheight, main, filename, ...

Plotting parameters passed to pheatmap.

Value

If return.value = TRUE, a matrix of two-way matching values 2 = two-way match, 1 = one-way match, and 0 = no match.

See Also

plot_FRmatch.


JCVenterInstitute/FRmatch documentation built on Dec. 15, 2022, 2:30 p.m.