Description Usage Arguments Value Examples
View source: R/common_classes.R
list and count samples with common ontological annotation in two SEs
1 | common_classes(ont, se1, se2)
|
ont |
instance of ontologyIndex ontology |
se1 |
a SummarizedExperiment using 'label.ont' in colData to provide ontological tags (from 'ont') for samples |
se2 |
a SummarizedExperiment using 'label.ont' in colData to provide ontological tags (from 'ont') for samples |
a data.frame with rownames given by the common tags, the class names as column 'clname', and counts of samples bearing the given tags in remaining columns.
1 2 3 4 5 6 7 8 | if (requireNamespace("celldex")) {
imm = celldex::ImmGenData()
if ("label.ont" %in% names(colData(imm))) {
cl = getCellOnto()
blu = celldex::BlueprintEncodeData()
common_classes( cl, imm, blu )
}
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.