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)
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'. |
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 markers from the pbmc.markers dataset with the Human
# species in the cellMarker2 dataset.
library(easybio)
data(pbmc.markers)
matched_markers <- matchCellMarker2(pbmc.markers, n = 50, spc = "Human")
print(matched_markers)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.