Skip to content

Commit

Permalink
update support for LR-velo
Browse files Browse the repository at this point in the history
  • Loading branch information
skpalan committed Mar 9, 2023
1 parent 45d5884 commit b56995b
Show file tree
Hide file tree
Showing 25 changed files with 1,133 additions and 362 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: cytosignal
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9000
Version: 0.2.0
Type: Package
Authors@R:
person(given = "Jialin",
Expand Down
9 changes: 9 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ S3method(graphNicheLR,CytoSignal)
S3method(graphNicheLR,dgCMatrix)
S3method(imputeNiche,CytoSignal)
S3method(imputeNiche,dgCMatrix)
S3method(imputeNicheVelo,CytoSignal)
S3method(inferScoreLR,CytoSignal)
S3method(inferScoreLR,dgCMatrix)
S3method(inferSignif,CytoSignal)
S3method(inferSignif,matrix_like)
S3method(inferVeloLR,CytoSignal)
S3method(inferVeloLR,matrix_like)
S3method(normCounts,CytoSignal)
S3method(normCounts,dgCMatrix)
S3method(normCounts,list)
Expand All @@ -31,10 +34,13 @@ export(hex_bin)
export(hex_coord)
export(hex_pos)
export(imputeNiche)
export(imputeNicheVelo)
export(inferEpsParams)
export(inferScoreLR)
export(inferSignif)
export(inferVeloLR)
export(normCounts)
export(permuteImpEdge)
export(permuteImpLR)
export(permuteListImpLR)
export(permuteListScoreLR)
Expand All @@ -56,6 +62,9 @@ exportClasses(ImpData)
exportClasses(lrScores)
exportClasses(lrVelo)
exportMethods(show)
importFrom(Matrix,colSums)
importFrom(Matrix,rowSums)
importFrom(Matrix,t)
importFrom(RTriangle,pslg)
importFrom(RTriangle,triangulate)
importFrom(Rcpp,evalCpp)
Expand Down
4 changes: 4 additions & 0 deletions R/RcppExports.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ graphMeanLR_cpp <- function(alpha_list, dge_lig, lig_index, lig_list, nb_index,
.Call('_cytosignal_graphMeanLR_cpp', PACKAGE = 'cytosignal', alpha_list, dge_lig, lig_index, lig_list, nb_index, nb_list)
}

inferVeloLR_cpp <- function(dge_lig, dge_recep, dge_lig_velo, dge_recep_velo, lig_index, lig_list, recep_index, recep_list) {
.Call('_cytosignal_inferVeloLR_cpp', PACKAGE = 'cytosignal', dge_lig, dge_recep, dge_lig_velo, dge_recep_velo, lig_index, lig_list, recep_index, recep_list)
}

VelographNicheLR_cpp <- function(dge_lig, dge_recep, dge_velo, lig_index, lig_list, recep_index, recep_list, nb_index, nb_list) {
.Call('_cytosignal_VelographNicheLR_cpp', PACKAGE = 'cytosignal', dge_lig, dge_recep, dge_velo, lig_index, lig_list, recep_index, recep_list, nb_index, nb_list)
}
Expand Down
Loading

0 comments on commit b56995b

Please sign in to comment.