Description Usage Arguments Value
View source: R/plottingFunctions.R
Plot pheatmaps for categories of 2 specific features for a Set and a Ref
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | plotAllPheatmapsFor2CategoriesFromMyGR(
myGRs,
nameOfColWithCate1,
cateNames1,
what1,
nameOfColWithCate2,
cateNames2,
what2,
stringSet,
nameOfRef,
fontsize = 10,
display_numbers = T,
whichPheatmaps = 1:5,
plotProportion = F
)
|
myGRs |
a GRangeList of 2 elements which are the set and the ref and should have 2 meta columns 'nameOfColWithCate1' and 'nameOfColWithCate2' |
nameOfColWithCate1 |
a string which gives the column to display |
cateNames1 |
the names of the categories, in the good order, for the first feature |
what1 |
the name of the first measure |
nameOfColWithCate2 |
a string which gives the column to display for the first feature |
cateNames2 |
the names of the categories, in the good order, for the second feature |
what2 |
the name of the second measure |
stringSet |
the name of the set for the second feature |
nameOfRef |
the name of the reference |
fontsize |
base fontsize for the heatmaps (default is 10) |
display_numbers |
logical whether to display the numbers in the pheatmaps (default is TRUE) |
whichPheatmaps |
a vector containing the pheatmaps to plot between 1 to 5 with: 1=shared by all Set and at least one Ref or shared by all Set and Ref 2=shared by all Set none of the Ref or shared by all Set no Ref 3=shared by all Set: all or all shared by all Set 4=shared by all Ref in not a single of the set or Ref in not a single of the set 5=shared by all Ref: all or all Ref (default is 1:5) |
plotProportion |
logical whether to display the pheatmap 1, 2, and 4 should be plot as proportion of pheatmap 3 and 5 (default is FALSE) |
Plot but do not return anything
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.