MakeData: Generate input data for tornado plot

Description Usage Arguments Examples

View source: R/MakeData.R

Description

Generate input data for tornado plot

Usage

1
2
MakeData(CNV, gene_name_1, gene_name_2, score.type, max.length,
  score.method, cohort_thredshold, gene_score_1, gene_score_2)

Arguments

CNV

data frame with six columns,Chromosome,Start,End,Score,Gene,Cohort,PID

gene_name_1

character, the name of first gene

gene_name_2

character, the name of second gene

CNV

data frame with six columns,Chromosome,Start,End,Score,Gene,Cohort,PID

start_1

numeric, start point of the first gene

start_2

numeric, start point of the second gene

end_1

numeric, end point of the first gene

end_2

numeric, end point of the second gene

chrom

character, chromosome id of both genes

type

character, "dup" for all amplifications, "del" for all deletions. default none.

Examples

1
2
sdt <- MakeData(CNV=chr17,gene_name_1 = input_gene_1,score.type = "del")
where sdt is the intermediate file for TornadoPlot function

chenhong-dkfz/tornado.test.1 documentation built on Dec. 28, 2021, 7:28 p.m.