Description Usage Arguments Details Value References Examples
A generic function to set filter regarding e.g missing data.
1 2 3 4 5 6 7 8 | ## S4 method for signature 'GENOME'
set.filter(object,
missing.freqs=TRUE,
minor.freqs=FALSE,
maf.lower.bound=0,
maf.upper.bound=1,
miss.lower.bound=0,
miss.upper.bound=1)
|
object |
An object of class |
missing.freqs |
Set filter for missing data |
minor.freqs |
Set filter for the MAF |
maf.lower.bound |
frequency of the MAF |
maf.upper.bound |
... |
miss.lower.bound |
frequency of the missing freq. |
miss.upper.bound |
... |
This function sets the slot region.data@included
.
Returned value is a modified object of class "GENOME"
———————————————————
The following slots will be modified in the "GENOME"
object
———————————————————
Slot | Reference | Description | |
1. | region.data@included | [x] | ... |
[x]
1 2 3 4 5 | # GENOME.class <- readData("\home\Alignments")
# GENOME.class <- set.filter(GENOME.class, missing.freqs=TRUE,
# miss.lower.bound=0, miss.upper.bound=0.2)
# now apply any statistic to the filtered data set.
# GENOME.class <- calc.fixed.shared(GENOME.class, subsites="included")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.