trim: Trim compound vectors

Description Usage Arguments Value

Description

Given a scaled compound vector and list of shifts that maximise correlation trim will trim each compound vector according to those shifts. i.e they will be trimmed by n titrations worth of features, where n is the shift

Usage

1
trim(x, max, metadata)

Arguments

x

a scaled compound vector produced from scale_d()

max

a list of maximum shifts, produced by the output from correlate and max_shift

metadata

metadata object created by construct_metadata

Value

a list of trimmed compound vectors


Swarchal/TISS documentation built on May 9, 2019, 3:24 p.m.