set.abhac: This Function performs integrative analysis on the whole...

Description Usage Arguments Value Author(s) Examples

Description

This Function performs integrative analysis on the whole dataset

Usage

1
2
3
4
5
6
7
set.abhac(ppi.database = NULL, rna = NULL, snv = NULL,
  expression.method = NULL, rna.paired = FALSE, correction.method = "BH",
  fdr.cutoff = 0.05, enrichment.categories = NULL,
  id.conversion.set = NULL, fac = NULL, clinical = NULL,
  fisher.fdr = "Permutation.FDR", fisher.fdr.cutoff = 0.05,
  num.permuted.ppi = 10, method.permuted.ppi = "AsPaper",
  bins.permuted.ppi = 4, num.cores = 6)

Arguments

ppi.database

2 column whole protein interaction network. Either loaded by data(ppi.database)(filtering is recommended based on types of interactions) or by user.

rna

a numeric matrix with rownames either as gene symbols, ensemble genes IDs, entrez IDs or uniprot IDs and columns representing same patient IDs as mutation matrix but with T and N suffices standing for Tumor and Nontumor samples.

snv

a character matrix with row names as either of uniprot IDs, gene symbols, entrez IDs or ensemble gene Ids. When there is no mutation, NA is expected.

expression.method

"RNAseq" or "Microarray"

rna.paired

boolean indicating if RNA samples are paired

correction.method

for differential expression analysis "holm", "hochberg", "hommel", "bonferroni", "BH", "BY" or "fdr"

fdr.cutoff

values higher than 0.1 are not advised

enrichment.categories

can be all or any of the c("snv.de.up.de.down","de.up","de.down","de","snv","snv.de.up","snv.de.down","snv.de")

id.conversion.set

A dataframe for ID conversions provided as global variable id.conversion.set. Columns represent Entrez gene ID, Uniprot Accession, Gene Symbol, Ensembl gene ID and refseq protein ID (all human)

fac

is all the proteins that exist in protein interaction network. If not using data(ppi.database), it is necessary to specify.

clinical

a dataframe of 2 columns with first column identical to snv dataframe or RNA dataframe (without "T"). Second column provides a particular categrical phenodata of patients that will be used as a factor to perform the analysis within the factor levels independently.

fisher.fdr

Can be either "Permutation.FDR", "Permutation.FWER" or any of the methods parsed into p.adjust. Type ?p.adjust for more details.

fisher.fdr.cutoff

Cutoff used for false discovery rate cutoff in fisher's exact test. By default set to 0.2.

num.permuted.ppi

If you have selected any of the two permutation based methods, the number of permuted networks to be used for multiple testing correction must be specified.

method.permuted.ppi

If you have selected any of the two permutation based methods, the method for binning proteins by their edge degree for creting permuted networks for multiple testing correction must be specified. It should be one of ("AsPaper", "equal", "ByDegree").

bins.permuted.ppi

If you have selected any of the two permutation based methods, specified the number of bins for proteins to be grouped into. If you have selected "AsPaper", you would better leave this as 4 (default). For the two other methods, we advise a number between 10-20.

num.cores

Note that a parallel for loop using foreach package calculates the p-values for all the different permuted networks. The number of processors to be used for this foreach has to be set by you using the "registerDoMC(cores=4)". However this parameters determined the number of processors to be used for calculation of pvalues by an mclapply feature. So if you are using registerDoMC(cores=4) and you want to limit the analysis to 12 processors, you must specify num.cores = 3.

Value

This function returns a data.frame with results of integrative network enrichment analysis

Author(s)

Mehran Karimzadeh mehran.karimzadehreghbati at mail dot mcgill dot ca

Examples

1
2
3
4
5
6
7
8
data(snv)
data(rna)
data(ppi.database) #2column whole human protein interaction database
data(id.conversion.set)
data(fac) #vector of all proteins in ppi.database
set.abhac.result = set.abhac(snv=snv,rna=rna,fac=fac,expression.method="Microarray",rna.paired=FALSE,
   fdr.cutoff=0.05,correction.method="BH",enrichment.categories=c("snv.de","de.up"),
   ppi.database=ppi.database[,1:2],id.conversion.set=id.conversion.set)

mehrankr/AbHAC documentation built on May 22, 2019, 6:49 p.m.