This function executes a ubuntu docker that uses as input the cnvs files produced by oncoSNP and add CN and LOH (check oncoSNP readme for more info) fields (rank 5 only) to the genes characterized by having genomics cohordinates included in the CNV region

oncosnpAnnotation(group = c("sudo", "docker"), data.folder, genome.folder)

Arguments

group,

a character string. Two options: sudo or docker, depending to which group the user belongs

data.folder,

a character string indicating the folder where input data (.cnvs) generated with oncoSNP are located and where output will be written

genome.folder,

a character string indicating the path of the folder where ENSEMBL genome.gtf is located, IMPORTANT use the same genome assembly used to design the array.

Value

a file for each .cnvs, e.g. annotation_XXXX.cnvs.txt

Examples

if (FALSE) { #running oncosnpAnnotation system("wget http://130.192.119.59/public/test_oncosnp.zip") system("unzip test_oncosnp.zip") oncosnpAnnotation(group="docker", data.folder="./test_oncosnp/oncosnp_out", genome.folder="./test_oncosnp/hg19") }