branchpointDetailsPreferenceDist: Investigate Branchpoint - Visit Preference Distributions

Description Usage Arguments Value

View source: R/branchpoint-investigation.R

Description

For a given pair of segments, this shows the branchpoint fusion details in the form of a series of distributionplots. Each moving window through pseudotime that was considered is rendered as a plot, in order of pseudotime. (So, the first plots are near the root.) The distribution of visitation preference for cells within the windows is plotted (-1 is cells visited exclusively by seg.1, 0 is cells visited equally, and 1 is cells visited exclusively by seg.2). Plots are titled with the window number, p-value (drawn from the test used during construction of the tree), and the determination of whether cell visitation within the window is significantly different (TRUE) or not (FALSE).

Usage

1
2
3
4
5
6
7
8
branchpointDetailsPreferenceDist(
  object,
  seg.1,
  seg.2,
  file = NULL,
  file.width = 375,
  file.height = 300
)

Arguments

object

An URD object

seg.1

(Character) Segment 1 of fusion

seg.2

(Character) Segment 2 of fusion

file

(Character) Path to save plot to. (If NULL, will display live)

file.width

(Numeric) Width per plot (in pixels) if saving file.

file.height

(Numeric) Height per plot (in pixels) if saving file.

Value

Nothing. If file==NULL, will display a plot, otherwise will produce a file.


farrellja/URD documentation built on June 17, 2020, 4:48 a.m.