selectLoci: Filters a 'lociData' object based on given selection...

Description Usage Arguments Value Author(s) See Also

View source: R/selectLoci.R

Description

Selects loci from a ‘lociData’ object based on likelihood, false discovery rate or familywise error rate for downstream processing.

Usage

1
selectLoci(cD, likelihood, FDR, FWER, perReplicate = TRUE)

Arguments

cD

The lociData object to be filtered.

likelihood

If provided, all loci with a likelihood greater than this criterion will be selected.

FDR

If provided (and likelihood is not provided), the maximal set of loci which controls the FDR at this level is selected.

FWER

If provided (and likelihood and FDR are not provided), the maximal set of loci which controls the FWER at this level is selected.

perReplicate

If TRUE, selection of loci is done on a replicate by replicate basis. If FALSE, selection will be done on the likelihood that the locus represents a true locus in at least one replicate group.

Value

A lociData object.

Author(s)

Thomas J. Hardcastle

See Also

lociLikelihoods


segmentSeq documentation built on Nov. 8, 2020, 5:18 p.m.