Skip to content

Commit a9ab0e4

Browse files
authored
fix plot_samples and plot_samples_outlier label mismatch
1 parent d1a5837 commit a9ab0e4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

R/process-feature-data.R

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,7 @@ process_data <- function(
263263
if(LABEL_outlier){
264264
cat("## saving outlier plots \n")
265265
tiff(paste0(path_outliers, "plot-outliers_", LABEL, ".tiff"), width = 1500, height = 1500, units = "px")
266-
print(cowplot::plot_grid(
267-
GGally::ggmatrix_gtable(plot_samples),
268-
GGally::ggmatrix_gtable(plot_features),
269-
nrow = 2))
266+
print(plot_samples_outlier)
270267
dev.off()
271268
}
272269
## save excluded IDs ====
@@ -990,7 +987,7 @@ transform_data <- function(df,
990987
#' df_samples = df_samples,
991988
#' df_features = df_features)
992989
#' print(result$filtered_df)
993-
#' print(result$plot_samples)
990+
#' print(result$plot_samples_outlier)
994991
#' print(result$excluded_samples)
995992
#' }
996993
outlier_pca_lof <- function(df,

0 commit comments

Comments
 (0)