Skip to content

Commit 4ce9d4f

Browse files
committed
Fixes in getMM
1 parent 1ceb353 commit 4ce9d4f

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

R/main.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1775,7 +1775,7 @@ corDistance = function(a,b,signed=TRUE,cor.type="pearson"){
17751775
#' @param keep.grey Use grey genes too
17761776
#' @param alt.gene.index You can pass genes in a different order, use this index order for that
17771777
#'
1778-
#' @returnk Depending on the value of table.format, a data.frame with genes and MM values or a list
1778+
#' @return A data.frame with genes and MM values or a list
17791779
#' with genes as keys and the MMs as values
17801780
#' @export
17811781
#'
@@ -2707,7 +2707,7 @@ bottomUpNetwork = function(tissue="SNIG",
27072707
adjacencies <<- apply(tom.matrix,2,sum)
27082708
names(adjacencies) <<- colnames(tom.matrix)
27092709
mms <<- getMM(net=net,genes=NULL,expr.data.file=expr.data,tissue=tissue,
2710-
which.one=which.one,in.cluster=F)
2710+
which.one=which.one)
27112711
}else{
27122712
adjacencies = apply(tom.matrix,2,sum)
27132713
names(adjacencies) = colnames(tom.matrix)

R/netdb.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ getModuleMostRelevantGenes = function(tissue="SNIG",
386386
cutoff=-1,
387387
expr.data.file=NULL){
388388

389-
mm = getMM(which.one=which.one,tissue=tissue,table.format = T,
389+
mm = getMM(which.one=which.one,tissue=tissue,
390390
genes=NULL,
391391
expr.data.file=expr.data.file)
392392

man/getMM.Rd

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)