padmaHelpers: Accessors for a padmaResults object.

pathway_nameR Documentation

Accessors for a padmaResults object.

Description

Accessors for a padmaResults object.

Usage

pathway_name(object, ...)

pathway_gene_deviation(object, ...)

MFA_results(object, ...)

ngenes(object, ...)

imputed_genes(object, ...)

removed_genes(object, ...)

## S4 method for signature 'padmaResults'
pathway_name(object)

## S4 method for signature 'padmaResults'
MFA_results(object)

## S4 method for signature 'padmaResults'
ngenes(object)

## S4 method for signature 'padmaResults'
imputed_genes(object)

## S4 method for signature 'padmaResults'
removed_genes(object)

## S4 method for signature 'padmaResults'
pathway_gene_deviation(object)

## S4 method for signature 'padmaResults'
show(object)

Arguments

object

a padmaResults object

...

Additional optional parameters

Value

Output varies depending on the method.

Author(s)

Andrea Rau

Examples


LUAD_subset <- padma::LUAD_subset
## Create MultiAssayExperiment object with LUAD data
omics_data <- 
  list(rnaseq = as.matrix(LUAD_subset$rnaseq),
       methyl = as.matrix(LUAD_subset$methyl),
       mirna = as.matrix(LUAD_subset$mirna),
       cna = as.matrix(LUAD_subset$cna))
pheno_data <- 
  data.frame(LUAD_subset$clinical, 
             row.names = LUAD_subset$clinical$bcr_patient_barcode)
mae <-
  suppressMessages(
    MultiAssayExperiment::MultiAssayExperiment(
      experiments = omics_data, colData = pheno_data))

## Run padma
run_padma <- 
  padma(mae, gene_map = padma::mirtarbase,
        pathway_name = "c2_cp_BIOCARTA_D4GDI_PATHWAY", verbose = FALSE)

summary(run_padma)

## padma plots
## Not run: 
factorMap(run_padma, dim_x = 1, dim_y = 2)
factorMap(run_padma, dim_x = 1, dim_y = 2,
           partial_id = "TCGA-78-7536")
omicsContrib(run_padma, max_dim = 10)

## End(Not run)

andreamrau/padma documentation built on June 15, 2024, 8:39 a.m.