naive_feature_importance: Rank importance of features

Description Usage Arguments

Description

Given a matrix of binary peaks and each row's corresponding labels, this function takes returns the absolute difference between the proportion of times an m/z value was labeled as a peak within each of the two classes.

Usage

1

Arguments

peaks

A matrix of peaks

labels

A factor vector of labels whose length is equal to the number of rows of peaks


smanchan96/binspec documentation built on May 30, 2019, 3:06 a.m.