20
20
# ' @param order The order of the x-axis items or groups. Default is an empty list.
21
21
# ' It should be a list of values. The names are the column names, and the values are the order.
22
22
# ' @param ... Other arguments passed to the specific plot function.
23
- # ' * For `bar` plot, see [plotthis::BarPlot].
24
- # ' * For `box` plot, see [plotthis::BoxPlot].
25
- # ' * For `violin` plot, see [plotthis::ViolinPlot].
23
+ # ' * For `bar` plot, see [plotthis::BarPlot() ].
24
+ # ' * For `box` plot, see [plotthis::BoxPlot() ].
25
+ # ' * For `violin` plot, see [plotthis::ViolinPlot() ].
26
26
# ' @return A ggplot object or a list if `combine` is FALSE
27
27
# ' @importFrom tidyr separate
28
28
# ' @importFrom plotthis BarPlot BoxPlot ViolinPlot
@@ -143,9 +143,9 @@ ClonalVolumePlot <- function(
143
143
# ' @param ytrans The transformation to apply to the y-axis. Default is "identity".
144
144
# ' @param theme_args The theme arguments to be passed to the plot function.
145
145
# ' @param ... Other arguments passed to the specific plot function.
146
- # ' * For `trend` plot, see [plotthis::Histogram].
147
- # ' * For `histogram` plot, see [plotthis::Histogram].
148
- # ' * For `density` plot, see [plotthis::DensityPlot].
146
+ # ' * For `trend` plot, see [plotthis::Histogram() ].
147
+ # ' * For `histogram` plot, see [plotthis::Histogram() ].
148
+ # ' * For `density` plot, see [plotthis::DensityPlot() ].
149
149
# ' @return A ggplot object or a list if `combine` is FALSE
150
150
# ' @importFrom tidyr full_seq complete
151
151
# ' @importFrom dplyr group_modify
@@ -234,7 +234,7 @@ ClonalAbundancePlot <- function(
234
234
# ' @param chain indicate if both or a specific chain should be used - e.g. "both",
235
235
# ' "TRA", "TRB", "TRD", "TRG", "IGH", or "IGL" to specify a specific chain.
236
236
# ' @param plot_type The type of plot to use. Default is "bar".
237
- # ' Possible values are "histogram " and "density".
237
+ # ' Possible values are "box", "violin " and "density".
238
238
# ' @param x_nbreaks The number of breaks for the x-axis. Default is 10.
239
239
# ' @param group_by The column name in the meta data to group the cells. Default: "Sample"
240
240
# ' @param facet_by The column name in the meta data to facet the plots. Default: NULL
@@ -245,7 +245,10 @@ ClonalAbundancePlot <- function(
245
245
# ' @param ylab The y-axis label.
246
246
# ' @param position The position of the bars for bar plot on the x-axis. Default is "dodge".
247
247
# ' @param ... Other arguments passed to the specific plot function.
248
- # ' * For
248
+ # ' * For `bar` plot, see [plotthis::BarPlot()].
249
+ # ' * For `box` plot, see [plotthis::BoxPlot()].
250
+ # ' * For `violin` plot, see [plotthis::ViolinPlot()].
251
+ # ' * For `density` plot, see [plotthis::DensityPlot()].
249
252
# ' @return A ggplot object or a list if `combine` is FALSE
250
253
# ' @importFrom stats quantile
251
254
# ' @importFrom rlang syms
@@ -601,9 +604,9 @@ DummyClonalScatterPlot <- function(df, title, group_by, scatter_cor, size_by, ..
601
604
# ' @param ncol The number of columns in the combined plot. Default is NULL.
602
605
# ' @param byrow Whether to fill the combined plot by row. Default is TRUE.
603
606
# ' @param ... Other arguments passed to the specific plot function.
604
- # ' * For `scatter` plot, see [plotthis::ScatterPlot].
605
- # ' * For `venn` plot, see [plotthis::VennDiagram].
606
- # ' * For `upset` plot, see [plotthis::UpsetPlot].
607
+ # ' * For `scatter` plot, see [plotthis::ScatterPlot() ].
608
+ # ' * For `venn` plot, see [plotthis::VennDiagram() ].
609
+ # ' * For `upset` plot, see [plotthis::UpsetPlot() ].
607
610
# ' @return A ggplot object or a list if `combine` is FALSE
608
611
# ' @export
609
612
# ' @importFrom utils combn
@@ -783,10 +786,10 @@ ClonalResidencyPlot <- function(
783
786
# ' @param order The order of the x-axis items or groups. Default is an empty list.
784
787
# ' It should be a list of values. The names are the column names, and the values are the order.
785
788
# ' @param ... Other arguments passed to the specific plot function.
786
- # ' * For `bar` plot, see [plotthis::BarPlot].
787
- # ' * For `ring` plot, see [plotthis::RingPlot].
788
- # ' * For `box` plot, see [plotthis::BoxPlot].
789
- # ' * For `violin` plot, see [plotthis::ViolinPlot].
789
+ # ' * For `bar` plot, see [plotthis::BarPlot() ].
790
+ # ' * For `ring` plot, see [plotthis::RingPlot() ].
791
+ # ' * For `box` plot, see [plotthis::BoxPlot() ].
792
+ # ' * For `violin` plot, see [plotthis::ViolinPlot() ].
790
793
# ' @return A ggplot object or a list if `combine` is FALSE
791
794
# ' @importFrom dplyr %>% mutate summarise ungroup n
792
795
# ' @importFrom tidyr pivot_longer separate
@@ -981,7 +984,7 @@ ClonalCompositionPlot <- function(
981
984
# ' @param cluster_columns Whether to cluster the columns. Default is FALSE.
982
985
# ' @param show_row_names Whether to show the row names. Default is TRUE.
983
986
# ' @param show_column_names Whether to show the column names. Default is TRUE.
984
- # ' @param ... Other arguments passed to the specific plot function [plotthis::Heatmap].
987
+ # ' @param ... Other arguments passed to the specific plot function [plotthis::Heatmap() ].
985
988
# ' @return A ComplexHeatmap object or a list if `combine` is FALSE
986
989
# ' @importFrom stats as.dist
987
990
# ' @importFrom rlang syms
@@ -1111,8 +1114,8 @@ ClonalOverlapPlot <- function(
1111
1114
# ' @param orderby An expression to order the clones by. Default is NULL.
1112
1115
# ' Note that the clones will be ordered by the value of this expression in descending order.
1113
1116
# ' @param ... Other arguments passed to the specific plot function.
1114
- # ' * For `chord ` plot, see [plotthis::ChordPlot ].
1115
- # ' * For `sankey` plot, see [plotthis::SankeyPlot].
1117
+ # ' * For `trend ` plot, see [plotthis::TrendPlot() ].
1118
+ # ' * For `sankey` plot, see [plotthis::SankeyPlot() ].
1116
1119
# ' @return A ggplot object or a list if `combine` is FALSE
1117
1120
# ' @importFrom rlang parse_expr
1118
1121
# ' @importFrom dplyr %>% summarise arrange desc mutate rename
0 commit comments