generate_branch_changes: Generate list of relevant probes for gain, loss, and change...

Description Usage Arguments Value Examples

View source: R/analyze.R

Description

This function returns relevant probe lists for each node that exhibits either a gain or a loss in methylation status. It also returns three sets of branch labels: number of methylation changes, number of methylation gains, and number of methylation losses. These labels can be given to the show_tree function as an edge labels parameter to visualize this data.

Usage

1

Arguments

icceTree

icceTree data structure

probe_node_matrix

probe-node matrix storing the methylation status across all probes and nodes on a tree

Value

a structure containing a list of probes with differentially methylated probes for each node (gain and loss stored separately), a list of branch labels for the number of total changes in methylation, a list of branch labels for the number of gains in methylation, and a list of branch labels for the number of losses in methylation

Examples

1
2
3
4
5
probe_information <- generate_branch_changes(icceTree)
relevant_probes <- probe_information$relevant_probes
total_changes_label <- probe_information$total_changes_label
meth_gains_label <- probe_information$meth_gains_label
meth_losses_label <- probe_information$meth_losses_label

ethanmoyer/ICCE documentation built on Aug. 25, 2020, 5:18 p.m.