track_gene: Proportion of probes methylated, unmethylated, ambiguous at...

Description Usage Arguments Value Examples

View source: R/analyze.R

Description

This function returns the proportion of each probes that are methylated, unmethylated, ambiguous at each node across a tree.

Usage

1
track_gene(tree, probe_node_matrix, reference, gene)

Arguments

tree

ape::phylo tree

probe_node_matrix

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

reference

reference file

gene

gene name

Value

a structure composed of two lists that contain methylation state proportions for internal nodes and methylation state proportions for leaves

Examples

1
2
3
4
gene_information <- track_gene(tree, probe_node_matrix, reference, 'CD81')
thermo_prop_internal_nodes = gene_information$thermo_prop_internal_nodes
thermo_prop_leaves = gene_information$thermo_prop_leaves
... some visualization 

ethanmoyer/MethylConstruct documentation built on July 10, 2020, 12:28 a.m.