View source: R/interpret_mapsce.R
interpret_mapsce | R Documentation |
interpret_mapsce
is a wrapper function for MAPSCE for interpretation of results for a particular mapping result
interpret_mapsce(
data,
tree,
min_diff = 0.4,
consensus_threshold = 0.1,
format = "tibble",
graph = F
)
data |
a tibble with summarised mapping results, the output of using mapsce function |
tree |
a matrix listing all the branches in the tree, where the first column is the ancestral node and the second column is the descendant clone. By definition, the root node will only be present in the first column. The clone IDs must correspond to the cluster IDs in cluster_ccf and mutation_ccf. |
min_diff |
a numeric vector, minimum difference between before and after to consider clonality. default at 0.4 |
consensus_threshold |
a numeric vector, the allowed threshold between the values to be considered "in agreement/consensus". default at 0.1 |
format |
a character vector, "list" or "tibble" output format. default is tibble |
graph |
logical, graphical output |
returns interpretation of MAPSCE in the form of vector
data(example_data)
mapsce_result <- mapsce(
example_cn,
example_ccf,
example_mutational_ccf,
example_tree)
interpret_mapsce(mapsce_result, example_tree)
# returns an interpretation vector for this example mapsce result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.