Skip to content

Commit

Permalink
Merge pull request #228 from PNNL-CompBio/dev
Browse files Browse the repository at this point in the history
updated xcell to work with matrisome
  • Loading branch information
sgosline committed Oct 13, 2023
2 parents bc33137 + 6560ad0 commit e524764
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 23,225 deletions.
101 changes: 0 additions & 101 deletions toy_data/TOY_log2ratio_protein_abundance_withNA.csv

This file was deleted.

101 changes: 0 additions & 101 deletions toy_data/TOY_log2ratio_protein_abundance_withNA.tsv

This file was deleted.

11,237 changes: 0 additions & 11,237 deletions toy_data/TOY_rna_expression_imputed.tsv

This file was deleted.

11,237 changes: 0 additions & 11,237 deletions toy_data/TOY_rna_expression_withNA.tsv

This file was deleted.

548 changes: 0 additions & 548 deletions toy_data/TOY_signature_matrix.tsv

This file was deleted.

2 changes: 1 addition & 1 deletion tumorDeconvAlgs/xcell/xcell.r
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if (length(args) > 1) {
if (length(markers) == 0) {
tempMarkers <- rownames(ref[ref[,s] > quantile(ref[,s], prob=0.5),])
deOverMedians <- (ref[tempMarkers,s] - rowMedians(as.matrix(ref[tempMarkers,])))/rowMedians(as.matrix(ref[tempMarkers,]))
markers <- tempMarkers[deOverMedians > quantile(deOverMedians, prob=0.9)]
markers <- tempMarkers[deOverMedians >= quantile(deOverMedians, prob=0.9)]
}
marker[[i]] <- markers
taggedNames <- c(taggedNames, paste0(colnames(ref)[i], "%", cellTypeNames[i], toString(i), "%", cellTypeNames[i], toString(i), ".txt"))
Expand Down

0 comments on commit e524764

Please sign in to comment.