R/queries.R
get_sample_annotation.Rd
get annotations for either n samples or selected sampleName
get_sample_annotation( compendium = "vespucci", n = NULL, normalization = "limma", sampleName = NULL, useIds = FALSE )
compendium | A string - the selected compendium |
---|---|
n | A numeric (integer): number of sample to retrieve (default 10) |
normalization | A string - 'tpm' (as default), 'limma' or 'legacy' |
sampleName | A string - A sampleId or sampleName |
useIds | A logical (FALSE as default) - It allows using sampleIds |
A data.frame with three columns: sampleId sampleName sampleAnnotation
if (FALSE) { get_sample_annotation(n=5) get_sample_annotation(sampleName = "U2FtcGxlVHlwZTo2NDE5", useIds = TRUE) get_sample_annotation(sampleName = "GSM287866.ch1") }