filter_missing {mappoly} | R Documentation |
Filter missing genotypes
Description
Excludes markers or individuals based on their proportion of missing data.
Usage
filter_missing(
input.data,
type = c("marker", "individual"),
filter.thres = 0.2,
inter = TRUE
)
Arguments
input.data |
an object of class |
type |
one of the following options:
Please notice that removing individuals with certain amount of data can change some marker parameters (such as depth), and can also change the estimated genotypes for other individuals. So, be careful when removing individuals. |
filter.thres |
maximum percentage of missing data (default = 0.2). |
inter |
if |
Author(s)
Marcelo Mollinari, mmollin@ncsu.edu.
Examples
plot(tetra.solcap)
dat.filt.mrk <- filter_missing(input.data = tetra.solcap,
type = "marker",
filter.thres = 0.1,
inter = TRUE)
plot(dat.filt.mrk)
[Package mappoly version 0.4.1 Index]