summaryMLGWAS: Summary of MLGWAS Performance, Feature Importance and Errors

Description Usage Arguments Value

Description

Summarizes performance, feature importance or errors of MLGWAS objects throughout partitions.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
summaryPerf(x, summarize = function(x) c(mean = mean(x, na.rm = TRUE), sd =
  stats::sd(x, na.rm = TRUE), len = length(stats::na.omit(x))))

summaryFeatimp(x, summarize = function(x) c(mean = mean(x, na.rm = TRUE), sd =
  stats::sd(x, na.rm = TRUE), len = length(stats::na.omit(x))))

summaryErrors(x, summarize = function(x) c(mean = mean(x, na.rm = TRUE), sd =
  stats::sd(x, na.rm = TRUE), len = length(stats::na.omit(x))))

## S4 method for signature 'MLGWAS'
summaryPerf(x, summarize = function(x) c(mean = mean(x,
  na.rm = TRUE), sd = stats::sd(x, na.rm = TRUE), len =
  length(stats::na.omit(x))))

## S4 method for signature 'MLGWAS'
summaryFeatimp(x, summarize = function(x) c(mean = mean(x,
  na.rm = TRUE), sd = stats::sd(x, na.rm = TRUE), len =
  length(stats::na.omit(x))))

## S4 method for signature 'MLGWAS'
summaryErrors(x, summarize = function(x) c(mean = mean(x,
  na.rm = TRUE), sd = stats::sd(x, na.rm = TRUE), len =
  length(stats::na.omit(x))))

Arguments

x

MLGWAS object.

summarize

list of functions to summarize performance. Each function must take a vector of numerics and return one numeric value.

Value

Summarized data.table


olivmrtn/MachineLearningGWAS documentation built on May 24, 2019, 12:52 p.m.