Closed Hailey-Z closed 2 years ago
The default n
for plot_pca is 500
.
If number of rows are below 500 then following code helps
if (num_total()<=500){ if(length(levels(as.factor(colData(dep())$replicate))) <= 6){ pca_plot<-DEP::plot_pca(dep(), n=num_total(), point_size = 4) pca_plot<-pca_plot + labs(title = "PCA Plot") return(pca_plot) }
The pca_plot on the NormalizedPage worked well in multiple groups data but raises errors while implementing the two-groups data. The error message shows below![image](https://user-images.githubusercontent.com/69587768/133120945-5e348959-4866-405f-bd04-e45fc654a935.png)