Skip to content

Commit

Permalink
Fixed #83
Browse files Browse the repository at this point in the history
  • Loading branch information
samWieczorek committed Dec 16, 2024
1 parent 647b488 commit a0be135
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions R/mod_Metacell_Filtering.R
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@ mod_Metacell_Filtering_server <- function(id,
req(is.enabled())
req(rv$dataIn)

print('in toto')
print(remoteReset())
rv.custom$funFilter <- mod_qMetacell_FunctionFilter_Generator_server(
id = "query",
obj = reactive({rv$dataIn[[length(rv$dataIn)]]}),
Expand Down
8 changes: 4 additions & 4 deletions R/mod_infos_dataset.R
Original file line number Diff line number Diff line change
Expand Up @@ -175,14 +175,14 @@ MagellanNTK::format_DT_server('dt',
req(rv$dataIn)
req(input$selectInputSE != "None")


.se <- rv$dataIn[[input$selectInputSE]]

typeOfData <- metadata(.se)$typeDataset
typeOfData <- typeDataset(.se)
nLines <- nrow(.se)
.nNA <- QFeatures::nNA(.se)
percentMV <- round(.nNA$nNA[,'pNA'], digits = 2)
nEmptyLines <- length(which(.nNA$nNArows[,'pNA']==100))
percentMV <- round(100*.nNA$nNA[,'pNA'], digits = 2)
nEmptyLines <- length(which(.nNA$nNArows[,'nNA']==ncol(.se)))

val <- c(typeOfData, nLines, percentMV, nEmptyLines)
row_names <- c("Type of data",
Expand Down

0 comments on commit a0be135

Please sign in to comment.