-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
need to explain how to annotate to other fields:
example from the gdsc pipeline
field_map <- list(
"id" = "id",
"ac" = "accession",
"sy" = "synonyms",
"misspelling" = "misspellings",
"di" = "diseases",
"ca" = "category",
"sx" = "sexOfCell",
"ag" = "ageAtSampling",
"derived-from-site" = "samplingSite"
)
fields <- names(field_map)
sampleMetadata[, paste0("cellosaurus.", fields) := {
mapped <- AnnotationGx::mapCell2Accession(
as.character(GDSC.COSMIC_ID),
from = "dr",
to = fields,
BPPARAM = BPPARAM
)
return(mapped[, 1:length(fields)])
}
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Type
Projects
Status
Todo