masked_corr: Calculate correlation only for ranges where the mask bit has...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Calculate correlation only for ranges where the mask bit has been set

Usage

1
masked_corr(v1, v2, mask, mask_ranges)

Arguments

v1

Input vector 1

v2

Input vector 2

mask

Mask, each bit that is set will be included in the correlation

mask_ranges

List of start, end tuples for each of the mask groups

Value

The Pearson correlation between the designated parts of the input vectors


mkuhn/maskedCorr documentation built on May 23, 2019, 2:03 a.m.