matchCellMarker2 | R Documentation |
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.
matchCellMarker2(
marker,
n,
spc,
tissueClass = available_tissue_class(spc),
tissueType = available_tissue_type(spc)
)
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 |
A data frame containing matched markers from the cellMarker2
dataset, with additional columns indicating the number of matches and
ordered symbols.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.