matchCellMarker2 {easybio} | R Documentation |
Match Markers with cellMarker2 Dataset
Description
This function matches markers from the FindAllMarkers
output with the
cellMarker2
dataset, filtering by species and selecting the top genes based
on their average log2 fold change and adjusted p-values.
Usage
matchCellMarker2(
marker,
n,
spc,
tissueClass = available_tissue_class(spc),
tissueType = available_tissue_type(spc)
)
Arguments
marker |
A data frame of markers obtained from the |
n |
An integer specifying the top number of genes to match from the input markers. |
spc |
A character string specifying the species, which can be either 'Human' or 'Mouse'. |
tissueClass |
A character specifying the tissue classes, default |
tissueType |
A character specifying the tissue types, default |
Value
A data frame containing matched markers from the cellMarker2
dataset, with additional columns indicating the number of matches and
ordered symbols.
Examples
# Example usage:
# Match the top 50 differential genes from the pbmc.markers dataset with the Human
# species in the cellMarker2 dataset.
## Not run:
library(easybio)
data(pbmc.markers)
matchCellMarker2(pbmc.markers, n = 50, spc = "Human")[]
## End(Not run)