Description Usage Arguments Value Examples
This function is to make bubbleplot out of a data pair. Notice, genelist is a dataframe that contain a column that is gene name, where the column name is "gene", if fa facet plot is wanted , an extra column named "tag" is required
| 1 2 3 4 | Generalbubbleplot(pair.data = NULL, cpcol = "celltype2",
  toskip = NULL, genelist = NULL, hlen = 30, llen = 25,
  midlen = 0, limlen = 30, showcmcol = F, titlename = "",
  angl = 0, donormalscale = F, doreturn = F, usefacet = F)
 | 
| pair.data | the data pair that was prepred by datapair.mk | 
| cpcol | The column name for comparison, the default is name | 
| toskip | A vector of variables from col(eg, a cell type), that I don't want to show in bubble plot | 
| genelist | A vector of genes that are interesting | 
| hlen | The high color span length, default is 30 | 
| llen | The low color span length, default is 25 | 
| midlen | The middle color span length, default is 0 | 
| limlen | The extreme high or low color span length | 
| showcmcol | If true, print out a couple of lines of compared column | 
| titlename | The figure title | 
| angl | The angle of x axis that I want it to rotate | 
| donormalscale | If true, further normalize to zero for all genes | 
| doreturn | If true, reurn a list including bubble data and bubble plot | 
| usefacet | If true, plot with facet, an extra column in genelist is required | 
return data pair that can be used for DE, bubble plot and others.
| 1 | Generalbubbleplot(ROCKvsnorock.non.paired,cpcol="name",genelist=c("TP53","TNFRSF1A","BAK1","CASP1"),donormalscale=F)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.