Chromosome-level genome assembly of the nematophagous flatworm Luticola nematophagus: revealing molecular adaptations for predation and its biocontrol potential against nematode diseases.
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
R · 91 lines · 3.6 KB · no license
- #' @title Calculate p-values from a set of observed test statistics and
- #' simulated null test statistics
- #'
- #' @description Calculates p-values from a set of observed test statistics and
- #' simulated null test statistics
- #'
- #' @param stat A vector of calculated test statistics.
- #' @param stat0 A vector or matrix of simulated or data-resampled null test
- #' statistics.
- #' @param pool If FALSE, stat0 must be a matrix with the number of rows equal to
- #' the length of \code{stat}. Default is TRUE.
- #'
- #' @details The argument \code{stat} must be such that the larger the value is
- #' the more deviated (i.e., "more extreme") from the null hypothesis it is.
- #' Examples include an F-statistic or the absolute value of a t-statistic. The
- #' argument \code{stat0} should be calculated analogously on data that
- #' represents observations from the null hypothesis distribution. The p-values
- #' are calculated as the proportion of values from \code{stat0} that are
- #' greater than or equal to that from \code{stat}. If \code{pool=TRUE} is
- #' selected, then all of \code{stat0} is used in calculating the p-value for a
- #' given entry of \code{stat}. If \code{pool=FALSE}, then it is assumed that
- #' \code{stat0} is a matrix, where \code{stat0[i,]} is used to calculate the
- #' p-value for \code{stat[i]}. The function \code{empPvals} calculates
- #' "pooled" p-values faster than using a for-loop.
- #'
- #' See page 18 of the Supporting Information in Storey et al. (2005) PNAS
- #' (\url{http://www.pnas.org/content/suppl/2005/08/26/0504609102.DC1/04609SuppAppendix.pdf})
- #' for an explanation as to why calculating p-values from pooled empirical
- #' null statistics and then estimating FDR on these p-values is equivalent to
- #' directly thresholding the test statistics themselves and utilizing an
- #' analogous FDR estimator.
- #'
- #' @return A vector of p-values calculated as described above.
- #'
- #' @references Storey JD and Tibshirani R. (2003) Statistical significance for
- #' genome-wide experiments. Proceedings of the National Academy of Sciences,
- #' 100: 9440-9445. \cr \url{http://www.pnas.org/content/100/16/9440.full}
- #'
- #' Storey JD, Xiao W, Leek JT, Tompkins RG, Davis RW. (2005) Significance
- #' analysis of time course microarray experiments. Proceedings of the
- #' National Academy of Sciences, 102 (36), 12837-12842. \cr
- #' \url{http://www.pnas.org/content/102/36/12837.full.pdf?with-ds=yes}
- #'
- #' @examples
- #' # import data
- #' data(hedenfalk)
- #' stat <- hedenfalk$stat
- #' stat0 <- hedenfalk$stat0 #vector from null distribution
- #'
- #' # calculate p-values
- #' p.pooled <- empPvals(stat=stat, stat0=stat0)
- #' p.testspecific <- empPvals(stat=stat, stat0=stat0, pool=FALSE)
- #'
- #' # compare pooled to test-specific p-values
- #' qqplot(p.pooled, p.testspecific); abline(0,1)
- #'
- #' @author John D. Storey
- #' @seealso \code{\link{qvalue}}
- #' @aliases empPvals
- #' @keywords pvalues
- #' @export
- empPvals <- function(stat, stat0, pool = TRUE) {
- m <- length(stat)
- n <- ncol(stat0)
- # Calculates p-values
- if (pool == TRUE) {
- if (is.matrix(stat0)) {
- stat0 <- as.vector(stat0)
- }
- m0 <- length(stat0)
- v <- c(rep(TRUE, m), rep(FALSE, m0))
- v <- v[order(c(stat, stat0), decreasing = TRUE)]
- u <- 1:length(v)
- w <- 1:m
- p <- (u[v == TRUE] - w) / m0
- p <- p[rank(-stat)]
- p <- pmax(p, 1/m0)
- } else {
- if (is.vector(stat0)) {
- stop("stat0 must be a matrix.")
- } else if (n == m) {
- stat0 <- t(stat0)
- } else if (nrow(stat0) != m){
- stop("Number of rows of stat0 must equal length of stat.")
- }
- stat0 <- (stat0 - stat) >= 0
- p <- rowMeans(stat0)
- p <- pmax(p, 1 / ncol(stat0))
- }
- return(p)
- }
empPvals.R at commit e861423, no license · at the source
Overview
- Biotechnology Institute of Guizhou Province, Guiyang, Guizhou China
- Guizhou Key Laboratory of Agricultural Biotechnology, Guiyang, Guizhou China
- Ministry of Agriculture and Rural Affairs Key Laboratory of Crop Genetic Resources and Germplasm Innovation in Karst Region, Guiyang, Guizhou China
- Guizhou Zhikang Biotechnology Company, Guizhou, China
- Anshun Branch of Guizhou Tobacco Company, Anshun, Guizhou China
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repository
Its files are read in the Code ↔ Paper reader above.
StoreyLab/qvalue
e8614232f05dd3db0951fafe3b2a33b8284b2aff, 1 September 2023Availability: 1 check, the latest on 29 September 2026: the link answers
- 29 September 2026: the link answers
12 files
- R/
empPvals.R , R, 91 lines - R/
hedenfalk.R , R, 55 lines - R/
hist_qvalue.R , R, 88 lines - R/
lfdr.R , R, 97 lines - R/
multiplot.R , R, 47 lines - R/
pi0est.R , R, 144 lines - R/
plot_qvalue.R , R, 149 lines - R/
qvalue.R , R, 143 lines - R/
qvalue_trunc.R , R, 59 lines - R/
summary_qvalue.R , R, 77 lines - R/
write_qvalue.R , R, 52 lines - README.md, Text, 94 lines
Code availability statement
The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- no repository, dataset or request procedure was recognized in it
Read it in the paper: doi.org/10.1186/s12864-026-12863-z.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 11 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- figshare:30000730, at figshare; found in “Data availability”
Data availability statement
The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to a dataset: figshare 30000730
Read it in the paper: doi.org/10.1186/s12864-026-12863-z.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 29 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 11 authors, 6 keywords, 8 MeSH terms, 3 funders, 106 references.
Cite
This paper
Guo, C., Yin, W., Zhang, Z., Deng, R., Pan, S., Zhang, H., Cen, H., Zhang, Q., Dai, F., Li, C., & Yang, Q. (2026). Chromosome-level genome assembly of the nematophagous flatworm Luticola nematophagus: revealing molecular adaptations for predation and its biocontrol potential against nematode diseases. BMC genomics, 27(1), 523. https://
BibTeX
@article{guo2026chromoso
author = {Guo, Chongtao and Yin, Wang and Zhang, Zhouqiong and Deng, Renju and Pan, Shouhui and Zhang, Hai and Cen, Hao and Zhang, Quan and Dai, Fei and Li, Congyong and Yang, Qing},
title = {{Chromosome-level genome assembly of the nematophagous flatworm Luticola nematophagus: revealing molecular adaptations for predation and its biocontrol potential against nematode diseases}},
journal = {BMC genomics},
year = {2026},
month = apr,
volume = {27},
number = {1},
pages = {523},
publisher = {BMC},
issn = {1471-2164},
doi = {10.1186/
url = {https://
pmid = {42021141},
pmcid = {PMC13238120}
}
RIS
TY - JOUR
AU - Guo, Chongtao
AU - Yin, Wang
AU - Zhang, Zhouqiong
AU - Deng, Renju
AU - Pan, Shouhui
AU - Zhang, Hai
AU - Cen, Hao
AU - Zhang, Quan
AU - Dai, Fei
AU - Li, Congyong
AU - Yang, Qing
TI - Chromosome-level genome assembly of the nematophagous flatworm Luticola nematophagus: revealing molecular adaptations for predation and its biocontrol potential against nematode diseases
T2 - BMC genomics
J2 - BMC Genomics
PY - 2026
DA - 2026/
VL - 27
IS - 1
SP - 523
SN - 1471-2164
PB - BMC
DO - 10.1186/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1186/
"type": "article-journal",
"title": "Chromosome-level genome assembly of the nematophagous flatworm Luticola nematophagus: revealing molecular adaptations for predation and its biocontrol potential against nematode diseases",
"container-title": "BMC genomics",
"author": [
{
"family": "Guo",
"given": "Chongtao"
},
{
"family": "Yin",
"given": "Wang"
},
{
"family": "Zhang",
"given": "Zhouqiong"
},
{
"family": "Deng",
"given": "Renju"
},
{
"family": "Pan",
"given": "Shouhui"
},
{
"family": "Zhang",
"given": "Hai"
},
{
"family": "Cen",
"given": "Hao"
},
{
"family": "Zhang",
"given": "Quan"
},
{
"family": "Dai",
"given": "Fei"
},
{
"family": "Li",
"given": "Congyong"
},
{
"family": "Yang",
"given": "Qing"
}
],
"container-title-short":
"volume": "27",
"issue": "1",
"page": "523",
"DOI": "10.1186/
"PMID": "42021141",
"PMCID": "PMC13238120",
"ISSN": "1471-2164",
"publisher": "BMC",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
23
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s41597-026-07102-9
- Chromosome-level genome assembly and annotation of the moon jellyfish Aurelia coerulea.Journal: Scientific dataIn common: other, 12 references
- [2] doi:10.1093/nar/gkag544 [code]
- Single-base resolution atlas reveals moderate conservation and regulatory diversity of m6A modifications across mammals.Journal: Nucleic acids researchIn common: 11 references
- [3] doi:10.1038/s42003-026-10402-w [code]
- Temporal orchestration of transcriptional and epigenomic programming underlying maternal embryonic diapause in a cricket model.Journal: Communications biologyIn common: other, 8 references
- [4] doi:10.7554/elife.107393 [code]
- Chromosome-scale genome assembly of the European common cuttlefish &
lt;i& gt;Sepia officinalis& lt;/ i& gt;. Journal: eLifeIn common: other, cellular / molecular, 7 references - [5] doi:10.1093/molbev/msag159 [code]
- Genomic signature of repeated transitions to diurnality in spiders.Journal: Molecular biology and evolutionIn common: cellular / molecular, 7 references
- [6] doi:10.1186/s12864-026-12683-1
- A new chromosome-level genome assembly for western painted turtle Chrysemys picta bellii, a model for extreme physiological adaptations.Journal: BMC genomicsIn common: other, cellular / molecular, 4 references
- [7] doi:10.1186/s12864-026-12959-6
- Cestode infection is linked to transcriptional shifts in neuropeptide signalling and caste-specific ageing pathways in a social insect.Journal: BMC genomicsIn common: other, cellular / molecular, 3 references
- [8] doi:10.1111/jne.70203 [code]
- Nonapeptide molecular evolution during the adaptive radiation of Tanganyika cichlids.Journal: Journal of neuroendocrinologyIn common: other, cellular / molecular, 3 references
- [9] doi:10.1002/pro.70580
- Conkazal-M1 from the MKAVA family of conotoxins: A dual-function protease inhibitor and neuroactive peptide.Journal: Protein science : a publication of the Protein SocietyIn common: other, cellular / molecular, 2 references
- [10] doi:10.1093/gbe/evag197 [code]
- Molecular Drivers of Mutualistic Association Between Anemone and Anemonefish.Journal: Genome biology and evolutionIn common: other, cellular / molecular, 2 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 11 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:6eb4156f5bc841d9…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
