filterByOmnibusGroups.Rd
Filter MiDAS object by omnibus groups
filterByOmnibusGroups(object, experiment, groups)
MiDAS
object.
String specifying experiment.
Character vector specifying omnibus groups to select. See
getOmnibusGroups
for more details.
Filtered MiDAS
object.
filterByOmnibusGroups(object = MiDAS_tut_object,
experiment = "hla_aa",
groups = c("A_3", "A_6", "C_1"))
#> A MiDAS object of 10 listed
#> experiments with user-defined names and respective classes.
#> Containing an ExperimentList class object of length 10:
#> [1] hla_alleles: SummarizedExperiment with 447 rows and 1000 columns
#> [2] hla_aa: SummarizedExperiment with 7 rows and 1000 columns
#> [3] hla_g_groups: SummarizedExperiment with 46 rows and 1000 columns
#> [4] hla_supertypes: SummarizedExperiment with 12 rows and 1000 columns
#> [5] hla_NK_ligands: SummarizedExperiment with 5 rows and 1000 columns
#> [6] kir_genes: SummarizedExperiment with 16 rows and 1000 columns
#> [7] kir_haplotypes: SummarizedExperiment with 6 rows and 1000 columns
#> [8] hla_kir_interactions: SummarizedExperiment with 29 rows and 1000 columns
#> [9] hla_divergence: matrix with 4 rows and 1000 columns
#> [10] hla_het: SummarizedExperiment with 9 rows and 1000 columns
#> Functionality:
#> experiments() - obtain the ExperimentList instance
#> colData() - the primary/phenotype DataFrame
#> sampleMap() - the sample coordination DataFrame
#> `$`, `[`, `[[` - extract colData columns, subset, or experiment
#> *Format() - convert into a long or wide DataFrame
#> assays() - convert ExperimentList to a SimpleList of matrices
#> exportClass() - save data to flat files