@@ -448,6 +448,8 @@ visualize.ma <- function(dataSet, M.thres = 1) {
448448# ' @param ht.textsize A numeric value (default = 2) specifying
449449# ' the font size of text labels for highlighted proteins.
450450# '
451+ # ' @param ... Optional arguments passed to \code{\link[ggrepel]{geom_text_repel}}.
452+ # '
451453# ' @return
452454# ' An object of class \code{ggplot}.
453455# '
@@ -458,7 +460,7 @@ visualize.ma <- function(dataSet, M.thres = 1) {
458460visualize.rank <- function (dataSet , listName = c(), regexName = c(), by = NULL ,
459461 facet = c(" Condition" , " Replicate" ),
460462 ht.color = " black" , ht.shape = 17 , ht.size = 1.5 ,
461- ht.textcolor = " black" , ht.textsize = 2 ) {
463+ ht.textcolor = " black" , ht.textsize = 2 , ... ) {
462464
463465 information <- read.csv(" preprocess_protein_information.csv" , check.names = FALSE )
464466 scaffoldCheck <- " Visible?" %in% colnames(information )
@@ -528,7 +530,7 @@ visualize.rank <- function(dataSet, listName = c(), regexName = c(), by = NULL,
528530 geom_text_repel(data = subset(plotData , Type == " Highlight" ),
529531 aes(label = Label ),
530532 color = ht.textcolor , size = ht.textsize ,
531- show.legend = FALSE )
533+ show.legend = FALSE , ... )
532534 }
533535
534536 return (plot )
0 commit comments