npbin_preprocess_file: Preprocess allele count data, handling a header if necessary.

Description Usage Arguments Details Value See Also

View source: R/preprocess.R

Description

This function wraps npbin_preprocess_counts with header handling.

Usage

1
npbin_preprocess_file(file_path, minimum_coverage = 5)

Arguments

data_frame

A data frame containing required fields for NPBin analysis

Details

Checks if the input data includes a header by checking column types of the input data frame. If a header is present, the indices of the required fields are noted and used with npbin_preprocess_counts. Finally, the data frame is converted to a data table.

Value

A data frame formatted for NPBin analysis

See Also

get_header_indices, npbin_preprocess_counts, convert_to_data_table


anthony-aylward/npbin documentation built on Aug. 22, 2019, 8:08 a.m.