col_sub_abs: Helper function to calculate the sum of the absolute...

View source: R/pwm_utils.R

col_sub_absR Documentation

Helper function to calculate the sum of the absolute difference between 2 position probability matrices

Description

Helper function to calculate the sum of the absolute difference between 2 position probability matrices

Usage

col_sub_abs(p, q)

Arguments

p
q

Value

a numeric vector

Examples

sum_abs_delta_prob_l <- mapply(FUN = col_sub_abs, p = ppm_p, q = ppm_q) 

Ni-Ar/niar documentation built on Feb. 3, 2025, 9:25 a.m.