Open nellykan opened 2 years ago
Hi Nelly,
The species of certain morif got changes between versions, as well as the name. Please check the version information for Sox2 https://jaspar.genereg.net/matrix/MA0143.3/ I would omit the species option to fetch all.
library(JASPAR2020)
opts <- list()
opts[["species"]] <- NULL
opts[["collection"]] <- "CORE"
opts[["all_versions"]] <- FALSE
opts[["matrixtype"]] <- "PFM"
PFMatrixList <- getMatrixSet(JASPAR2020, opts)
PFMatrixList
which(name(PFMatrixList) == "Klf4")
which(name(PFMatrixList) == "KLF4")
which(name(PFMatrixList) == "Sox2")
which(name(PFMatrixList) == "SOX2")
Hi Ge Tan,
I am not sure how that solves the problem. I do not want the motif for any species, but for Mus musculus specifically, and only the latest mus musculus version. In other words, I think the filtering for the version should happen after selecting a species.
If you only want Mus musculus version, then you will have to pick from "all_versions" as you did initially, as the latest version can be from human.
Hi!
I am trying this tool for the first time and I encountered the following issue.
When I am accessing the PWMs of mouse (Tax ID: 10090) with the option "all_versions=TRUE", I get results for various factors, among which for example Klf4 and Sox2.
However, with the default option "all_versions=FALSE", I do not get any result of these (and other) factors, even though the expected behavior would be to get only the latest version.
I would appreciate any help or tips. Thanks a lot!
Nelly
Session Info: R version 4.1.1 (2021-08-10) TFBSTools_1.32.0
JASPAR2020_0.99.10