Skip to content

Commit

Permalink
changed pca method default to NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
maggiecam committed Sep 6, 2024
1 parent 706ccc2 commit 05ba42c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/Combine_and_Normalize.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ combineNormalize <- function(object,
clust.res.bin = 0.2,

# Select PCs
methods.pca = 'none',
methods.pca = NULL,
var.threshold = 0.1,
pca.reg.plot = FALSE,
jackstraw = FALSE,
Expand Down Expand Up @@ -596,7 +596,7 @@ combineNormalize <- function(object,

### Determin # of PCs ====
#### create Elbow plot ====
if ('none'%in%methods.pca==F) {
if (is.null(methods.pca) == FALSE) {

elbow.grob=lapply(names(object.merge.split),function(x){
gg=
Expand Down

0 comments on commit 05ba42c

Please sign in to comment.