FDRDistPlot: Plot the estimated distances and corresponding p-values.

View source: R/plotting.R

FDRDistPlotR Documentation

Plot the estimated distances and corresponding p-values.

Description

Plots the estimated distances and corresponding p-values.

Usage

FDRDistPlot(
  scd.object,
  sig_color = "orange",
  nonsig_color = "grey",
  sig_line_color = "blue"
)

Arguments

scd.object

A list obtained from applying the main function scDist.

sig_color

color to use for points and text of clusters with FDR > 1 (default is "orange").

nonsig_color

color to use for points and text of clusters with FDR < 1 (default is "grey").

sig_line_color

color to use for dashed line indicating FDR = 1 (default is "blue").

Details

It should be noted that the p-value computation and distance estimation are separate procedures, so it will not necessarily be the case that a distance of 0 corresponds to a non-significant p-value.


phillipnicol/pcDiffPop documentation built on Nov. 29, 2024, 6:06 p.m.