plotWC | R Documentation |
Plot the wordcloud changing the visualization parameters.
plotWC(
x,
tagPalette = NULL,
madeUpper = c("dna", "rna"),
preserve = FALSE,
scaleFreq = NULL,
fontFamily = "sans",
numWords = NULL,
wcScale = 10,
argList = list(),
useggwordcloud = TRUE,
asis = FALSE
)
## S4 method for signature 'biotext'
plotWC(
x,
tagPalette = NULL,
madeUpper = c("dna", "rna"),
preserve = FALSE,
scaleFreq = NULL,
fontFamily = "sans",
numWords = NULL,
wcScale = 10,
argList = list(),
useggwordcloud = TRUE,
asis = FALSE
)
x |
biotext object |
tagPalette |
tag palette when 'tag' is TRUE. It is also used for dependency network using udpipe, and tagging colorization for word cloud. Default to NULL, which indicates automatically set. |
madeUpper |
make these words uppercase in resulting plot, default to c("rna" and "dna") |
preserve |
Try to preserve original characters. |
scaleFreq |
default to NULL, scale the value if specified |
fontFamily |
font family to use, default to "sans". |
numWords |
the number of words to be shown in the plot. When 'autoThresh' is TRUE, the number of this value will be shown. |
wcScale |
scaling size for ggwordcloud |
argList |
parameters to pass to wordcloud() or ggwordcloud() |
useggwordcloud |
default to TRUE, otherwise use 'wordcloud' function. |
asis |
plot the original network (default to FALSE) |
The function accepts the already calculated biotext object and outputs the visualization based on the specified parameters.
wordcloud visualization
geneList <- c("DDX41","PNKP","ERCC1","IRF3","XRCC1")
test <- refseq(geneList, plotType="wc")
plotWC(test, asis=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.