View source: R/filter_functions.R
filterGenotypeTableSites | R Documentation |
This function will filter R objects of
TasselGenotypePhenotype
class containing genotype tables.
The parameters for this function are derived from TASSEL's
FilterSiteBuilder
plugin.
filterGenotypeTableSites(
tasObj,
siteMinCount = 0,
siteMinAlleleFreq = 0,
siteMaxAlleleFreq = 1,
minHeterozygous = 0,
maxHeterozygous = 1,
removeMinorSNPStates = FALSE,
removeSitesWithIndels = FALSE,
siteRangeFilterType = c("none", "sites", "position"),
startSite = NULL,
endSite = NULL,
startChr = NULL,
startPos = NULL,
endChr = NULL,
endPos = NULL,
gRangesObj = NULL,
chrPosFile = NULL,
bedFile = NULL
)
tasObj |
An object of class |
siteMinCount |
Site minimum count of alleles not unknown. Can range from 0 to inf. Defaults to 0. |
siteMinAlleleFreq |
Site minimum minor allele frequency. Can range from 0 to 1.0. Defaults to 0.0. |
siteMaxAlleleFreq |
Site maximum minor allele frequency. Can range from 0 to 1.0. Defaults to 1.0. |
minHeterozygous |
Min heterozygous proportion. Can range from 0 to 1.0. Defaults to 0.0. |
maxHeterozygous |
Max heterozygous proportion. Can range from 0 to 1.0. Defaults to 1.0. |
removeMinorSNPStates |
Remove minor SNP states. Defaults to
|
removeSitesWithIndels |
Remove sites containing an indel
( |
siteRangeFilterType |
True if filtering by site numbers. False if
filtering by chromosome and position. Options are
|
startSite |
The start site. Defaults to 0. |
endSite |
The end site. Defaults to 0. |
startChr |
Start chromosome for site filtration range if |
startPos |
Physical start position (bp) for filtration range if
|
endChr |
End chromosome for site filtration range if |
endPos |
Physical end position (bp) for filtration range if
|
gRangesObj |
Filter genotype table by |
chrPosFile |
An optional chromosome position file path of
|
bedFile |
An optional BED coordinate file path of
|
Returns an object of TasselGenotypePhenotype
class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.