Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 1 DOI reference(s) in README -
✓Academic publication links
Links to: frontiersin.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.4%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: lixiang117423
- License: other
- Language: R
- Default Branch: main
- Size: 1.75 MB
Statistics
- Stars: 19
- Watchers: 2
- Forks: 5
- Open Issues: 5
- Releases: 0
Metadata Files
README.md
Install
{r
install.packages("qPCRtools")
Calculate volume for reverse transcription
The first step of qPCR is usually the preparation of cDNA. We need to calculate the column of RNA for reverse transcription to cDNA. So, if we have the concentration of RNA, we can use the function CalRTable to do that. The function have three patameters:
data: The table of RNA concentration. The unit of concentration is ng/μl. The demo data can be found at GitHub.template: The table of reagent for reverse transcription. The demo data can be found at GitHub. The columnAllis the total volume for 1 μg RNA.RNA.weight: The mass of RNA. The unit is μg. The default value is 2.
```{r suppressMessages(library(tidyverse)) library(qPCRtools)
df.1.path <- system.file("examples", "crtv.data.txt", package = "qPCRtools") df.2.path <- system.file("examples", "crtv.template.txt", package = "qPCRtools") df.1 <- data.table::fread(df.1.path) df.2 <- data.table::fread(df.2.path) result <- CalRTable(data = df.1, template = df.2, RNA.weight = 2)
result %>% dplyr::slice(1:6) %>% kableExtra::kable(format = "html") %>% kableExtra::kable_styling("striped") ```
Calculate standard curve
The function can calculate the standard curve. At the same time, it can get the amplification efficiency of primer(s). Based on the amplification efficiency, we can know which method can be used to calculate the expression level. The function has 6 parameters:
cq.table: The table of Cq. It must contain at least two columns:OnePositionandCq. The demo data can be found at GitHub.concen.table: The table of gene(s) and concentration. It must contain at least three columns:Position,GeneandConc. The demo data can be found at GitHub.lowest.concen: The lowest concentration used to calculate the standard curve.highest.concen: The highest concentration used to calculate the standard curve.dilu: The dilution factor of cDNA template. The default value is 4.by: Calculate the standard curve by average data or the full data. The default value ismean.
```{r library(qPCRtools)
df.1.path <- system.file("examples", "calsc.cq.txt", package = "qPCRtools") df.2.path <- system.file("examples", "calsc.info.txt", package = "qPCRtools") df.1 <- data.table::fread(df.1.path) df.2 <- data.table::fread(df.2.path) CalCurve( cq.table = df.1, concen.table = df.2, lowest.concen = 4, highest.concen = 4096, dilu = 4, by = "mean" ) -> p
p[["table"]] %>% dplyr::slice(1:6) %>% kableExtra::kable(format = "html") %>% kableExtra::kable_styling("striped")
p[["figure"]]
```
Calculate expression using standard curve
After we calculated the standard curve, we can use the standard curve to calculate the expression level of genes. In qPCRtools, function CalExpCurve can get the expression using standard curve. There are several parameters in this function:
cq.table: The table of Cq. It must contain at least two columns:OnePositionandCq. The demo data can be found at GitHub.curve.table: The table of standard curve calculated byCalCurve.design.table: The design information including three columns:Position,TreatmentandGene. The demo table can be found at GitHub.correction: Expression level is corrected or not with internal reference genes. The default value isTRUE.ref.gene: The name of reference gene.stat.method: The method used to calculate differential expression of genes. If we want to calculate the difference between target group and reference group, one oft.testorwilcox.testcan be used.anovais for all groups. The default value ist.test.ref.group: The name of reference group. Ifstat.methodist.testorwilcox.test, the function need aref.group.fig.type: The type of figure,boxorbar.boxrepresentsboxplot.barrepresentsbarplot. The default value isbox.fig.ncol: The column of figure. The default value isNULL.
```{r} df1.path = system.file("examples", "cal.exp.curve.cq.txt", package = "qPCRtools") df2.path = system.file("examples", "cal.expre.curve.sdc.txt", package = "qPCRtools") df3.path = system.file("examples", "cal.exp.curve.design.txt", package = "qPCRtools")
cq.table = data.table::fread(df1.path) curve.table = data.table::fread(df2.path) design.table = data.table::fread(df3.path)
CalExpCurve( cq.table, curve.table, design.table, correction = TRUE, ref.gene = "OsUBQ", stat.method = "t.test", ref.group = "CK", fig.type = "box", fig.ncol = NULL) -> res
res[["table"]] %>% dplyr::slice(1:6) %>% kableExtra::kable(format = "html") %>% kableExtra::kable_styling("striped") res[["figure"]] ```
Calculate expression using 2-ΔΔCt
$2^{-{Δ}{Δ}{C_t }} $is a widely used method to calculate qPCR data[@livak2001analysis]. Our function CalExp2ddCt can do it. Seven parameters are required for this function:
cq.table: The demo file can be found at GitHub.design.table: The demo data can be found at GitHub. Other parameters are same as the functionCalExpCurve.ref.gene: The name of reference gene.ref.group: The name of reference group. Ifstat.methodist.testorwilcox.test, the function need aref.group.stat.method: The method used to calculate differential expression of genes. If we want to calculate the difference between target group and reference group, one oft.testorwilcox.testcan be used.anovais for all groups. The default value ist.test.fig.type: The type of figure,boxorbar.boxrepresentsboxplot.barrepresentsbarplot. The default value isbox.fig.ncol: The column of figure. The default value isNULL.
```{r df1.path = system.file("examples", "ddct.cq.txt", package = "qPCRtools") df2.path = system.file("examples", "ddct.design.txt", package = "qPCRtools")
cq.table = data.table::fread(df1.path) design.table = data.table::fread(df2.path)
CalExp2ddCt(cq.table, design.table, ref.gene = "OsUBQ", ref.group = "CK", stat.method = "t.test", fig.type = "bar", fig.ncol = NULL) -> res
res[["table"]] %>% dplyr::slice(1:6) %>% kableExtra::kable(format = "html") %>% kableExtra::kable_styling("striped")
res[["figure"]] ```
Calculate expression using RqPCR
The method from SATQPCR can identify the most stable reference genes (REF) across biological replicates and technical replicates[@rancurel2019satqpcr]. Our package provides a function, CalExpRqPCR, to achieve it. In the design.table, BioRep, TechRep and Eff are required. BioRep is the biological replicates. TechRep is the technical replicates. Eff is the amplification efficiency of genes. The cq.table can be found at GitHub and the design,table can be found at GitHub. If user want to give reference gene, ref.gene can be used (The default is NULL).
ref.group: The name of reference group. Ifstat.methodist.testorwilcox.test, the function need aref.group.stat.method: The method used to calculate differential expression of genes. If we want to calculate the difference between target group and reference group, one oft.testorwilcox.testcan be used.anovais for all groups. The default value ist.test.fig.type: The type of figure,boxorbar.boxrepresentsboxplot.barrepresentsbarplot. The default value isbox.fig.ncol: The column of figure. The default value isNULL.
```{r df1.path <- system.file("examples", "cal.expre.rqpcr.cq.txt", package = "qPCRtools") df2.path <- system.file("examples", "cal.expre.rqpcr.design.txt", package = "qPCRtools")
cq.table <- data.table::fread(df1.path, header = TRUE) design.table <- data.table::fread(df2.path, header = TRUE)
CalExpRqPCR(cq.table, design.table, ref.gene = NULL, ref.group = "CK", stat.method = "t.test", fig.type = "bar", fig.ncol = NULL ) -> res
res[["table"]] %>% dplyr::slice(1:6) %>% kableExtra::kable(format = "html") %>% kableExtra::kable_styling("striped")
res[["figure"]] ```
References
If this package is used in your publication, please cite qPCRtools paper:
Owner
- Name: XiangLI
- Login: lixiang117423
- Kind: user
- Website: https://blog.blog4xiang.top/
- Repositories: 2
- Profile: https://github.com/lixiang117423
lixiang117423@gmail.com
GitHub Events
Total
- Issues event: 1
- Watch event: 2
- Issue comment event: 1
Last Year
- Issues event: 1
- Watch event: 2
- Issue comment event: 1
Committers
Last synced: over 3 years ago
All Time
- Total Commits: 32
- Total Committers: 2
- Avg Commits per committer: 16.0
- Development Distribution Score (DDS): 0.031
Top Committers
| Name | Commits | |
|---|---|---|
| lixiang117423 | l****3@g****m | 31 |
| XiangLI | 7****3@u****m | 1 |
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 5
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 5
- Total pull request authors: 0
- Average comments per issue: 1.2
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- Dentalium (1)
- moreelsp (1)
- BaylorSci (1)
- maqy15 (1)
- shubhamdutta26 (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 229 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 4
- Total maintainers: 1
cran.r-project.org: qPCRtools
Tools for qPCR
- Homepage: https://github.com/lixiang117423/qPCRtools
- Documentation: http://cran.r-project.org/web/packages/qPCRtools/qPCRtools.pdf
- License: MIT + file LICENSE
-
Latest release: 1.0.1
published over 2 years ago
Rankings
Maintainers (1)
Dependencies
- broom * imports
- data.table * imports
- dplyr * imports
- ggplot2 * imports
- ggpmisc * imports
- ggthemes * imports
- kableExtra * imports
- magrittr * imports
- multcomp * imports
- readxl * imports
- reshape2 * imports
- rstatix * imports
- sjmisc * imports
- stringr * imports
- tibble * imports
- tidyr * imports
- xlsx * imports
- knitr * suggests
- rmarkdown * suggests
- broom * imports
- data.table * imports
- dplyr * imports
- ggplot2 * imports
- ggpmisc * imports
- ggthemes * imports
- kableExtra * imports
- magrittr * imports
- multcomp * imports
- readxl * imports
- reshape2 * imports
- rstatix * imports
- sjmisc * imports
- stringr * imports
- tibble * imports
- tidyr * imports
- xlsx * imports
- knitr * suggests
- rmarkdown * suggests
- broom * imports
- data.table * imports
- dplyr * imports
- ggplot2 * imports
- ggpmisc * imports
- magrittr * imports
- multcomp * imports
- readxl * imports
- reshape2 * imports
- sjmisc * imports
- stringr * imports
- xlsx * imports
- broom * imports
- data.table * imports
- dplyr * imports
- ggplot2 * imports
- ggpmisc * imports
- ggthemes * imports
- kableExtra * imports
- magrittr * imports
- multcomp * imports
- readxl * imports
- reshape2 * imports
- rstatix * imports
- sjmisc * imports
- stringr * imports
- tibble * imports
- tidyr * imports
- xlsx * imports
- knitr * suggests
- rmarkdown * suggests
- broom * imports
- data.table * imports
- dplyr * imports
- ggplot2 * imports
- ggpmisc * imports
- ggthemes * imports
- kableExtra * imports
- magrittr * imports
- multcomp * imports
- readxl * imports
- reshape2 * imports
- rstatix * imports
- sjmisc * imports
- stringr * imports
- tibble * imports
- tidyr * imports
- xlsx * imports
- knitr * suggests
- rmarkdown * suggests