CellTypeMarkers | R Documentation |
Cell-type markers
CellTypeMarkers(object, geneToSymbol)
importCellTypeMarkers(file, organism, release, ignoreVersion = TRUE)
object |
Object. |
geneToSymbol |
|
file |
|
organism |
|
release |
|
ignoreVersion |
|
CellTypeMarkers
.
Updated 2024-03-27.
markersDir <- system.file(
"extdata", "markers",
package = "AcidSingleCell"
)
cellTypeDir <- file.path(markersDir, "cell-type")
files <- sort(list.files(
path = cellTypeDir,
pattern = "*.csv",
full.names = TRUE
))
file <- files[[1L]]
organism <- syntactic::sentenceCase(
gsub(
pattern = "-",
replacement = " ",
x = AcidBase::basenameSansExt(file)
)
)
releaseFile <- file.path(markersDir, "ensembl-release.txt")
release <- as.integer(readLines(releaseFile))
object <- importCellTypeMarkers(
file = file,
organism = organism,
release = release
)
print(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.