plot.oncoscore.timeseries: plot.oncoscore.timeseries

View source: R/plot.R

plot.oncoscore.timeseriesR Documentation

plot.oncoscore.timeseries

Description

plot the OncoScore for a list of genes

Usage

## S3 method for class 'oncoscore.timeseries'
plot(
  x,
  gene.number = 5,
  incremental = FALSE,
  relative = FALSE,
  main = "OncoScore",
  xlab = "timepoints",
  ylab = "score",
  legend.pos = "top",
  file = NA,
  ...
)

Arguments

x

input data as result of the function compute.OncoScore

gene.number

number of genes to print

incremental

display the OncoScore increment

relative

dispaly the incrementa as relative value

main

the title

xlab

description of x asix (defaul score)

ylab

description of y asix (defaul genes)

legend.pos

Position of the legend

file

where to save the plot

...

additional parameter to pass to the lines function

Value

A plot

Examples

data(query.timepoints)
result = compute.oncoscore.timeseries(query.timepoints)
plot.oncoscore.timeseries(result)


danro9685/OncoScore documentation built on April 28, 2024, 2:01 p.m.