plotMPS2: plotMPS2

View source: R/plotMPS2.R

plotMPS2R Documentation

plotMPS2

Description

MPS data visualizer (interactive)

Usage

plotMPS2(
  mixData,
  refData = NULL,
  AT = NULL,
  ST = NULL,
  grpsymbol = "_",
  locYmax = TRUE,
  options = NULL
)

Arguments

mixData

List of mixData[[ss]][[loc]] =list(adata,hdata), with samplenames ss, loci names loc, allele vector adata (can be strings or numeric), intensity vector hdata (must be numeric)

refData

List of refData[[rr]][[loc]] or refData[[loc]][[rr]] to label references (flexible). Visualizer will show dropout alleles.

AT

A detection threshold can be shown in a dashed line in the plot (constant). Possibly a vector with locus column names

ST

A stochastic threshold can be shown in a dashed line in the plot (constant). Possibly a vector with locus column names

grpsymbol

A separator for each allele giving plot grouping. Useful for separating conventional repeat units (RU) and sequence variant.

locYmax

Whether Y-axis should be same for all markers (FALSE) or not (TRUE this is default)

options

A list of possible plot configurations. See comments below

Details

Plots intensities with corresponding allele variant for one sample. Does not yet handle replicates. Can handle RU grouping with separator grpsymbol.

Value

sub A plotly widget

Author(s)

Oyvind Bleka


oyvble/euroformix documentation built on Aug. 25, 2023, 11:14 a.m.