reIdentify: Re-identify IDATs by restoring scrambled SNP intensities

View source: R/deidentify.R

reIdentifyR Documentation

Re-identify IDATs by restoring scrambled SNP intensities

Description

This requries setting a seed with a secret number that was used to de-identify the IDAT (see example). This requires a secret number that was used to de-idenitfy the IDAT

Usage

reIdentify(path, out_path = NULL, snps = NULL, mft = NULL)

Arguments

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

Value

NULL, changes made to the IDAT files

Examples


temp_out <- tempfile("test")

set.seed(123)
reIdentify(system.file(
    "extdata", "4207113116_A_Grn.idat", package = "sesameData"), temp_out)
unlink(temp_out)

zwdzwd/sesame documentation built on April 28, 2024, 12:48 p.m.