filter_hmp | R Documentation |
filter variants in hapmap format
filter_hmp(
x,
mode = c("POS", "type", "both"),
Chr = Chr,
start = start,
end = end,
gff = gff,
type = type,
cusTyp = cusTyp,
geneID = geneID
)
x |
genotype dataset in hapmap format, object of data.frame class |
mode |
filter mode, one of "POS", "type", "both" |
Chr |
chromosome name, needed if mode set to "POS" or "both" |
start |
start position, needed if mode set to "POS" or "both" |
end |
end position, needed if mode set to "POS" or "both" |
gff |
object of GRanges class, genome annotations imported by
|
type |
filter type, needed if mode set to "type" or "both",
one of "CDS", "exon", "gene", "genome", "custom",
if |
cusTyp |
character vector, custom filter type,
needed if |
geneID |
gene ID |
# create a dataset of genotype in hapmap format
hmp <- hap2hmp(hapResult);
# example
hmp <- filter_hmp(hmp, mode = "POS",
Chr = "scaffold_1", start = 4100, end = 5000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.