Skip to content

Commit 8a20d19

Browse files
ashishjain1988Jain
authored and
Jain
committed
removing the print statements
1 parent 8daffdc commit 8a20d19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

R/teEnrichment.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ teEnrichment <- function(inputGenes = NULL, rnaSeqDataset = 1,
235235

236236
#### Calculate the Hypergeometric P-Value#########
237237
tissueNames <- as.character(tissueDetails$RName)
238-
print(paste0("Total background genes:",nrow(geneMappingForCurrentDataset)))
239-
print(paste0("Total input genes:",length(inputEnsemblGenes)))
238+
#print(paste0("Total background genes:",nrow(geneMappingForCurrentDataset)))
239+
#print(paste0("Total input genes:",length(inputEnsemblGenes)))
240240
x <- lapply(tissueNames, FUN = function(tissue) {
241241

242242
tissueGenes <- finalTissueSpecificGenes %>%
@@ -309,7 +309,7 @@ teEnrichment <- function(inputGenes = NULL, rnaSeqDataset = 1,
309309
nTeGenesInTissue <- nrow(tissueGenes)
310310
nTotalGenes <- nrow(geneMappingForCurrentDataset)
311311
nTotalInputGenes <- length(inputEnsemblGenes)
312-
print(paste0("Total TS genes in ",tissue," ",nTeGenesInTissue))
312+
#print(paste0("Total TS genes in ",tissue," ",nTeGenesInTissue))
313313
pValue <- stats::phyper(overlapGenes - 1, nTeGenesInTissue,
314314
nTotalGenes - nTeGenesInTissue,
315315
nTotalInputGenes, lower.tail = FALSE)

0 commit comments

Comments
 (0)