###### Example 1 - Chromosome level
## Step 1: Run chromosome CIN
# This is how command should be run:
## Not run:
# run.cin.chr(grl.seg = grl.data)
# ## End(Not run)
# For this example, we run chr CIN on one threshold only
data("grl.data")
run.cin.chr(grl.seg = grl.data, thr.gain=2.25, thr.loss=1.75, V.def=3, V.mode="sum")
## Step 2: Plot chromosome level heatmap
# This is how the command must be called:
## Not run:
# comp.heatmap(R_or_C="Regular", clinical.inf=clin.crc, genome.ucsc=hg18.ucsctrack, thr.gain = 2.25,
# thr.loss = 1.75,V.def = 3,V.mode = "sum")
# ## End(Not run)
# For this example, we run chr heatmap on one threshold only
comp.heatmap(R_or_C='Regular', clinical.inf=clin.crc, genome.ucsc=hg18.ucsctrack, thr.gain = 2.25,
thr.loss = 1.75,V.def = 3,V.mode = "sum")
###### Example 2 - Cytoband level
## Step 1 : Run cytoband CIN
# This is how command should be run:
## Not run:
# run.cin.cyto(grl.seg = grl.data,cnvgr=cnvgr.18.auto, snpgr=snpgr.18.auto,
# genome.ucsc = hg18.ucsctrack)
#
# ## Step 2: Plot cytoband level heatmap
#
# comp.heatmap(R_or_C="Cytobands", clinical.inf=clin.crc, genome.ucsc=hg18.ucsctrack,
# thr.gain=2.25, thr.loss=1.75,V.def=3,V.mode="sum")
# ## End(Not run)
Run the code above in your browser using DataLab