Skip to content

Commit

Permalink
fix #46: header of file was not read when .txt
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-d13 committed Sep 18, 2024
1 parent 2774fcb commit e5a4b1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
3 changes: 1 addition & 2 deletions R/DeconvExplorer.R
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,6 @@ DeconvExplorer <- function(deconvexp_bulk = NULL,
}
)


# plot interactive heatmap
observe({
req(
Expand Down Expand Up @@ -2026,7 +2025,7 @@ DeconvExplorer <- function(deconvexp_bulk = NULL,

# load file, depending on extension
if (ext == "txt") {
content <- utils::read.table(path)
content <- utils::read.table(path, header = T)
} else if (ext == "csv") {
content <- vroom::vroom(path, delim = ",")
} else if (ext == "tsv") {
Expand Down
14 changes: 2 additions & 12 deletions inst/extdata/app_information.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,11 @@ uploaded as txt as well.**
- Vector containing gene names
- This is only necessary for BSeq-sc

#### SimBu Simulation

If no ground truth data is available for your bulk dataset you can
benchmark by simulating a pseudo-bulk sample with known cell type
fraction using SimBu. To transfer your simulation to DeconvExplorer save
it in rds format and upload it to retrieve the simulated bulk file and
the corresponding ground truth.

simulation <- SimBu::simulate_bulk(...)
saveRDS(simulation, 'filepath.rds') # upload this file

#### Custom Signature and Ground Truth Reference

Please make sure the first column contains gene identifiers matching the
bulk sample.
The signature matrix you upload, needs to have gene symbols as the first column. The other columns need to be cell types,
which signature-specific values in each cell.

# Deconvolution

Expand Down

0 comments on commit e5a4b1f

Please sign in to comment.