plot the OncoScore for a list of genes

# S3 method for class 'oncoscore'
plot(
  x,
  gene.number = 5,
  main = "OncoScore",
  xlab = "score",
  ylab = "genes",
  file = NA,
  ...
)

Arguments

x

input data as result of the function compute.OncoScore

gene.number

number of genes to print

main

the title

xlab

description of x asix (defaul score)

ylab

description of y asix (defaul genes)

file

where to save the plot

...

additional parameter to pass to the barplot function

Value

A plot

Examples

data(query)
result = compute.oncoscore(query)
#> ### Processing data
#> ### Computing frequencies scores 
#> ### Estimating oncogenes
#> ### Results:
#> 	 ASXL1 -> 77.8392 
#> 	 IDH1 -> 83.08351 
#> 	 IDH2 -> 76.75356 
#> 	 SETBP1 -> 65.556 
#> 	 TET2 -> 69.86954 
plot.oncoscore(result)