thresh_data: Threshold a dataset based on frequency

Description Usage Arguments Value See Also

View source: R/ArchitectureSimulate.R

Description

Assuming the first column is frequency, return only rows where f>=t.

Usage

1
thresh_data(testdata, t)

Arguments

testdata

The data frame containing frequency in the first column.

t

The desired threshold

Value

A dataframe the same shape as provided with only common SNPs retained.

See Also

make_test_data which simulates the data and gives a complete example.


danjlawson/robustarchitecture documentation built on Dec. 19, 2021, 8:09 p.m.