Description Usage Arguments Value
View source: R/branchpoint-investigation.R
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 frequency from the two segments is plotted in red (seg.1) and green (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).
1 2 3 4 5 6 7 8 | branchpointDetailsVisitDist(
object,
seg.1,
seg.2,
file = NULL,
file.width = 375,
file.height = 300
)
|
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 |
file.width |
(Numeric) Width per plot (in pixels) if saving file. |
file.height |
(Numeric) Height per plot (in pixels) if saving file. |
Nothing. If file==NULL
, will display a plot, otherwise will produce a file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.