mutation_types_match: Check Whether Mutation Types Match

Description Usage Arguments Details Value

View source: R/mutation_types_match.R

Description

Returns boolean value indicating whether two catalogs/reference signatures have matching mutation types

Usage

1
mutation_types_match(catalogs_1, catalogs_2, order_is_important = TRUE)

Arguments

catalogs_1

Mutation catalog object (data frame with cols: mutation_type, count)

catalogs_2

Mutation catalog object (data frame with cols: mutation_type, count)

order_is_important

Boolean. If FALSE, then the catalogs are sorted by mutation type before they are compared.

Details

Given two mutation catalogs, check that their mutation types match. This is an important safeguard against potential errors which can arise when catalogs have mismatched mutation types.

Value

Boolean value. TRUE if mutation types match. FALSE otherwise.


eyzhao/SignIT documentation built on Dec. 6, 2019, 11:45 a.m.