plot.oncoscore: plot.oncoscore

View source: R/plot.R

plot.oncoscoreR Documentation

plot.oncoscore

Description

plot the OncoScore for a list of genes

Usage

## 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)
plot.oncoscore(result)


danro9685/OncoScore documentation built on July 24, 2024, 1:34 a.m.