Description Usage Arguments Value
View source: R/aggregateAndFilter.R
Works in conjunction with the genSnpZygosity() function. This function will take the output from that function and concatenate each samples SNP results into a csv. It will then go through each SNP to identify whether X or more samples have coverage on that SNP and isolate the genomic location and genotypes for those SNPs
1 2 3 4 5 6 7 | aggregateAndFilter(
s_paths,
dbsnp_dir,
num_samples = 2,
dbsnp_file = "all.common_all_20151104.bed",
chrs = paste0("chr", c(1:22, "X", "Y"))
)
|
s_paths |
Sample SNP paths from genSnpZygosity() |
dbsnp_dir |
Directory containing the chr-dbSNP bed files |
num_samples |
Number of samples required to have that SNP [Default=2] |
dbsnp_file |
Main dbSNP file before splitting [default=all.common_all_20151104.bed] |
chrs |
List of chrs [Default=chr1, chr2, .., chrY] |
A vector of the input, output files and runtime
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.