subsetByLocusID: Subset object by locus ID.

Description Usage Arguments Value

View source: R/subsetByLocusID.R

Description

Subset object by locus ID.

Usage

1
2
3
4
5
6
7
subsetByLocusID(x, predicate)

## S3 method for class 'data.frame'
subsetByLocusID(x, predicate)

## S3 method for class 'map'
subsetByLocusID(x, predicate)

Arguments

x

Object with locus IDs.

predicate

Function applied to locus IDs that determines which loci are retained in the output object.

Value

Input object containing only loci whose locus IDs are evaluated as true by the predicate function.


gact/shmootl documentation built on Nov. 11, 2021, 6:23 p.m.