filter_data: Quality filtering of data.

Description Usage Arguments Details Value

Description

Filters out of the binned data matrix those windows that have a quality metric value beneath a set threshold.

Usage

1
filter_data(binned_data, histogram, threshold)

Arguments

binned_data

A data frame, containing the binned genes.

histogram

A data frame, containing the quality metric for each window.

threshold

A number of type double indicating the quality metric value used to filter the data.

Details

filter_data compares the quality metric in every window with the threshold value, and finds out which windows are above threshold. Then, it subsets the binned data, keeping only the selected windows.

The output data frame contains gene as rows and cells as columns, but not any other information concerning the data, since mean, sd, bin and CV columns are removed before it is returned.

Value

A data frame, containing only genes from windows above set minimum quality.


angelesarzalluz/scfilters documentation built on May 10, 2019, 11:46 a.m.