Description Usage Arguments Details See Also Examples
View source: R/hypogen_import.R
hypo_import_snps
imports SNP based statistics (such as VCFtools output).
1 | hypo_import_snps(file, gz = FALSE, run, ...)
|
file |
string scalar (mandatory), the input file |
gz |
logical scalar (optional), is the input file gz compressed? |
run |
string scalar (optional), appends a column RUN as ID if several files should be merged later |
... |
parameters passed to vroom::vroom() |
This function imports SNP based statistics. The input is expected to be tab separated, to contain a CHROM and POS column and can optionally be gz compressed. After import, the CHROM based position is transposed to a genome wide position for continuous visualization.
1 2 3 | file_snps <- system.file("extdata", "example.weir.fst.gz", package = "hypogen")
hypo_import_snps(file = file_snps, gz = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.