Description Usage Arguments Value Examples
Mask SNP probe intensity mean by zero.
1 | deIdentify(path, out_path = NULL, snps = NULL, mft = NULL, randomize = FALSE)
|
path |
input IDAT file |
out_path |
output IDAT file |
snps |
SNP definition, if not given, default to SNP probes |
mft |
sesame-compatible manifest if non-standard |
randomize |
whether to randomize the SNPs. if TRUE, randomize the signal intensities. one can use set.seed to reidentify the IDAT with the secret seed (see examples). If FALSE, this sets all SNP intensities to zero. |
NULL, changes made to the IDAT files
1 2 3 4 5 6 7 | my_secret <- 13412084
set.seed(my_secret)
temp_out <- tempfile("test")
deIdentify(system.file(
"extdata", "4207113116_A_Grn.idat", package = "sesameData"),
temp_out, randomize = TRUE)
unlink(temp_out)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.