filter_table {geneHapR} | R Documentation |
filter variants stored in table
Description
filter variants stored in table
Usage
filter_table(
x,
mode = c("POS", "type", "both"),
Chr = Chr,
start = start,
end = end,
gff = gff,
type = type,
cusTyp = cusTyp,
geneID = geneID
)
Arguments
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 |
Examples
# example
data("geneHapR_test")
table <- filter_table(gt.geno, mode = "POS",
Chr = "scaffold_1", start = 4100, end = 5000)
[Package geneHapR version 1.2.4 Index]