get.miss | R Documentation |
A function to get the percentage of missing data of snps per SNP and per sample
get.miss(
data,
type = c("samples", "snps"),
plot = TRUE,
verbose = TRUE,
parallel = FALSE
)
data |
a list containing imported vcf file using |
type |
character. Missing percentages per sample “samples” or per SNP “snps”, default both |
plot |
logical. Whether to plot the missingness density with ninety five percent quantile |
verbose |
logical. Whether to show progress |
parallel |
logical. whether to parallelize the process |
Returns a data frame of allele depth or genotypes
Piyal Karunarathne
## Not run: vcf.file.path <- paste0(path.package("rCNV"), "/example.raw.vcf.gz")
vcf <- readVCF(vcf.file.path=vcf.file.path)
missing<-get.miss(vcf,plot=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.