powered by
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 )
Returns a data frame of allele depth or genotypes
a list containing imported vcf file using readVCF or genotype table generated using hetTgen
readVCF
hetTgen
character. Missing percentages per sample “samples” or per SNP “snps”, default both
logical. Whether to plot the missingness density with ninety five percent quantile
logical. Whether to show progress
logical. whether to parallelize the process
Piyal Karunarathne
if (FALSE) 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)
Run the code above in your browser using DataLab