outlier_filter {ISAnalytics} | R Documentation

## Filter out outliers in metadata, identified by the chosen outlier test.

### Description

Filter out outliers in metadata.

### Usage

    outlier_filter(
      metadata,
      outlier_test = "outliers_by_pool_fragments",
      negate = FALSE,
      ...
    )

### Arguments

`metadata` | The metadata data frame
`outlier_test` | A string representing a function name. The name must be one of the available outlier tests, see available_outlier_tests.
`negate` | If TRUE will return only the metadata that was flagged to be removed. If FALSE will return only the metadata that wasn't flagged to be removed.
`...` | Additional named arguments passed to `outliers_test`

### Value

A data frame of metadata which has less or the same amount of rows

### Examples

    op <- options(ISAnalytics.widgets = FALSE)

    path_AF <- system.file("extdata", "ex_association_file.tsv",
        package = "ISAnalytics"
    )
    association_file <- import_association_file(path_AF, root = NULL,
        dates_format = "dmy"
    )
    filtered_af <- outlier_filter(association_file, key = "VCN")
    options(op)

[Package ISAnalytics version 1.2.1 Index]