Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
14f5547
tidy up code
lingminhao Feb 15, 2026
d63fdae
refactor generateColData to take sampleData as argument
lingminhao Feb 15, 2026
f86ce9c
refactor combineCountSes to inherit colData directly from quantData
lingminhao Feb 15, 2026
ed26b1f
update colData for pseudobulk single-cell
lingminhao Feb 15, 2026
f9554b5
add sampleData argument
lingminhao Feb 15, 2026
0307855
remove spatial argument from bambu
lingminhao Feb 19, 2026
8e25154
rename colData parameter combineCountSes to colDataList (avoid same …
lingminhao Feb 19, 2026
c29eab4
update bambu sampleData parameter description
lingminhao Feb 19, 2026
bfa131e
refine sampleData input check description
lingminhao Feb 19, 2026
9c2d8ba
tidy up spatial & sampleData argument
lingminhao Feb 20, 2026
fda300b
change sampleData to sampleMetadata in assignReadClasstoTranscripts f…
lingminhao Feb 20, 2026
e80cb39
fix bug: omit the check for NA elements in sampleData
lingminhao Feb 20, 2026
7d60435
allow . csv/.tsv/.txt file input type in sampleData
lingminhao Mar 2, 2026
8f7f506
refactor: store sampleData in readClassList for parsing
lingminhao Mar 27, 2026
547e034
update comment to describe CB/UMI parsing from bam
lingminhao Mar 27, 2026
586cdb3
change priority in CB & UMI name extraction from bam file
lingminhao Mar 27, 2026
4bd48bf
fix: standardize list access for all sample sizes
lingminhao Mar 27, 2026
807ad06
remove redundant code
lingminhao Mar 27, 2026
44e791d
correct order of extracted barcode to match devel_pre_v4
lingminhao Apr 9, 2026
446407a
tidy for cleaner code
lingminhao Apr 9, 2026
93b2e7d
add back row.names to prevent missing colnames in se_pseudobulk
lingminhao Apr 9, 2026
01f4ff8
correct order of extracted barcode to match devel_pre_v4
lingminhao Apr 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update colData for pseudobulk single-cell
  • Loading branch information
lingminhao committed Feb 15, 2026
commit ed26b1ffdbe884780ccaa788d0a45f2dd0c24abb
7 changes: 7 additions & 0 deletions R/bambu.R
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ bambu <- function(reads, annotations = NULL, genome = NULL, NDR = NULL,
start.ptm <- proc.time()
countsSeCompressed.all <- NULL
ColNames <- c()
colData.all <- list()
for(i in seq_along(quantData)){
quantData_i <- quantData[[i]]
#load in the barcode clustering from file if provided
Expand Down Expand Up @@ -310,8 +311,14 @@ bambu <- function(reads, annotations = NULL, genome = NULL, NDR = NULL,
message("Total Time ", round((end.ptm - start.ptm)[3] / 60, 3), " mins.")
if(!is.null(clusters)){
ColNames <- c(ColNames, names(iter))
colData.all[[i]] <- data.frame(
id = names(countsSeCompressed),
sampleName = names(countsSeCompressed),
row.names = names(countsSeCompressed)
)
} else{
ColNames <- c(ColNames, colnames(quantData_i))
colData.all[[i]] <- data.frame(colData(quantData_i))
}
countsSeCompressed.all <- c(countsSeCompressed.all, countsSeCompressed)
}
Expand Down