RankView {MAGeCKFlute} | R Documentation |
Rank all genes according to beta score deviation, and label top and bottom meaningful genes. Some other interested genes can be labeled too.
RankView( rankdata, genelist = NULL, top = 10, bottom = 10, cutoff = NULL, main = NULL, filename = NULL, width = 5, height = 4, ... )
rankdata |
Numeric vector, with gene as names. |
genelist |
Character vector, specifying genes to be labeled in figure. |
top |
Integer, specifying number of top genes to be labeled. |
bottom |
Integer, specifying number of bottom genes to be labeled. |
cutoff |
Numeric. |
main |
As in 'plot'. |
filename |
Figure file name to create on disk. Default filename="NULL", which means no output. |
width |
As in ggsave. |
height |
As in ggsave. |
... |
Other available parameters in function 'ggsave'. |
An object created by ggplot
, which can be assigned and further customized.
Wubing Zhang
file1 = file.path(system.file("extdata", package = "MAGeCKFlute"), "testdata/rra.gene_summary.txt") gdata = ReadRRA(file1) rankdata = gdata$Score names(rankdata) = gdata$id RankView(rankdata)