e.g., add markers for mouse liver periportal and pericentral hepatocytes
custom_marker <- data.frame(species = c("Mouse", "Mouse", "Mouse", "Mouse"), tissue = c("Liver", "Liver", "Liver", "Liver"), cancer= c("Normal", "Normal", "Normal", "Normal"), condition = c("Normal cell", "Normal cell", "Normal cell", "Normal cell"), subtype1 = c("NA", "NA", "NA", "NA"), subtype2 = c("NA", "NA", "NA", "NA"), subtype3 = c("Periportal", "Periportal", "Pericentral", "Pericentral"), celltype = c("Hepatocyte", "Hepatocyte", "Hepatocyte", "Hepatocyte"), gene = c("Cyp2f2", "Alb", "Glul", "Cyp2e1"), resource = c("Experiment", "Experiment", "Experiment", "Experiment"), pmid = c("28166538", "28166538", "28166538", "28166538"), stringsAsFactors = FALSE)
cellmatch
findmarkergene
cellmatch <- rbind(cellmatch, custom_marker) obj <- findmarkergene(object = obj, species = "Mouse", marker = cellmatch, tissue = "Liver")
There was an error while loading. Please reload this page.