compare_purple_gene_files | R Documentation |
Compares two PURPLE gene.cnv
(or cnv.gene.tsv
) files.
compare_purple_gene_files(
cnv1,
cnv2,
out_cn_diff,
out_coord_diff,
threshold = 0.1
)
cnv1 |
Path to first PURPLE |
cnv2 |
Path to second PURPLE |
out_cn_diff |
Path to write genes with copy number differences between the two runs - needs to be a writable directory. |
out_coord_diff |
Path to write genes with different coordinates between the two runs - needs to be a writable directory. |
threshold |
Numeric. Copy number differences smaller than this value are not reported. |
Writes results from the comparison to out_cn_diff
and out_coord_diff
.
cnv1 <- system.file("extdata", "cnv/sample_A.purple.gene.cnv", package = "woofr")
cnv2 <- system.file("extdata", "cnv/sample_B.purple.cnv.gene.tsv", package = "woofr")
out1 <- tempfile()
out2 <- tempfile()
compare_purple_gene_files(cnv1, cnv2, out1, out2, threshold = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.