Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangjunpeng411 committed Feb 6, 2024
2 parents 46d8080 + da56f87 commit c279e83
Show file tree
Hide file tree
Showing 29 changed files with 1,896 additions and 1,356 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: miRSM
Type: Package
Title: Inferring miRNA sponge modules in heterogeneous data
Version: 1.99.3
Version: 1.99.4
Authors@R:
person(given = "Junpeng",
family = "Zhang",
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CHANGES IN VERSION 1.99.0-1.99.3
CHANGES IN VERSION 1.99.0-1.99.4
-------------------------
o Add new methods for identifying miRNA sponge modules <2024-02-04, Sun>

Expand Down
638 changes: 589 additions & 49 deletions R/miRSM.R

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# miRSM R package

# Introduction
This package provides several utility functions to infer miRNA sponge or ceRNA modules at single-sample and multi-sample levels.
This package provides several utility functions to study miRNA sponge or ceRNA modules at single-sample and multi-sample levels, including popular methods for inferring gene modules (candidate miRNA sponge or ceRNA modules), and two functions to identify miRNA sponge modules at single-sample and multi-sample levels, as well as several functions to conduct modular analysis of miRNA sponge modules.

# Installation
```{r echo=FALSE, results='hide', message=FALSE}
Expand All @@ -18,16 +18,16 @@ suppressMessages(library(miRSM))
# Load BRCA sample data
data(BRCASampleData)
# Identify ceRNA-mRNA co-expression modules using WGCNA
# Identifying gene co-expression modules using WGCNA
modulegenes_WGCNA <- module_WGCNA(ceRExp[, seq_len(150)],
mRExp[, seq_len(150)])
# Identify miRNA sponge modules using sensitivity RV coefficient (SRVC)
# Identifying miRNA sponge modules using sensitivity RV coefficient (SRVC)
miRSM_WGCNA_SRVC <- miRSM(miRExp, ceRExp, mRExp, miRTarget,
modulegenes_WGCNA, method = "SRVC",
SMC.cutoff = 0.01, RV_method = "RV")
# Identify sample-specific miRNA sponge modules
# Identifying sample-specific miRNA sponge modules
nsamples <- 3
modulegenes_igraph_all <- module_igraph(ceRExp[, 151:300], mRExp[, 151:300])
modulegenes_WGCNA_exceptk <- lapply(seq(nsamples), function(i) module_WGCNA(ceRExp[-i, seq(150)], mRExp[-i, seq(150)]))
Expand Down Expand Up @@ -59,14 +59,14 @@ miRSM.Validate <- module_Validate(miRSM_WGCNA_SRVC_genes, Groundtruth)
# Co-expression analysis of miRNA sponge modules
miRSM_WGCNA_Coexpress <- module_Coexpress(ceRExp, mRExp, miRSM_WGCNA_SRVC_genes, resample = 10, method = "mean", test.method = "t.test")
# miRNA distribution analysis of sharing miRNAs
# Distribution analysis of sharing miRNAs
miRSM_WGCNA_share_miRs <- share_miRs(miRTarget, miRSM_WGCNA_SRVC_genes)
miRSM_WGCNA_miRdistribute <- module_miRdistribute(miRSM_WGCNA_share_miRs)
# Predict miRNA-target interactions
# Predicting miRNA-target interactions
miRSM_WGCNA_miRtarget <- module_miRtarget(miRSM_WGCNA_share_miRs, miRSM_WGCNA_SRVC_genes)
# Identify miRNA sponge interactions
# Identifying miRNA sponge interactions
miRSM_WGCNA_miRsponge <- module_miRsponge(miRSM_WGCNA_SRVC_genes)
```
Expand Down
82 changes: 41 additions & 41 deletions man/BRCA_genes.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 31 additions & 31 deletions man/ceRExp.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

92 changes: 46 additions & 46 deletions man/cor_binary.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 31 additions & 31 deletions man/mRExp.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c279e83

Please sign in to comment.