Description Usage Arguments Value Author(s) Examples
Given a GISTIC file and a Mutation Annotation Format (MAF) file and a set of surrogate genes in question, generate a p-value for each surrogate mutation per sample using permutation analysis.
1 | calcNeighborMutations(intome, nodeset = NULL, gisticCopyCalls, nodeMappedDream, Samples = NULL, cores = NULL, prefix = "", numPermutes = 10000, geneIntTable = geneIntTable)
|
intome |
Protein/protein interactome file, derived from HPRD and available in the DLBCL package. |
nodeset |
Surrogate Gene set of interest. Note these must be mapped to NodeName in intome. This can be done by matching Gene Symbol or Entrez ID to the geneIntTable generated by the buildGeneIntTable() function. |
gisticCopyCalls |
GISTIC gene level copy number calls mapped to Nodes in network. Row names are genes, and Column names are samples. Please refer to the included vignette for an example of the transformed file. |
nodeMappedMAF |
MAF file mapped to Nodes in network. Please refer to the included vignette for an example of the mapped file. |
Samples |
Optional vector consisting of the samples of interest to run. If this is option is set to NULL, then all samples that exist in gisticCopyCalls and nodeMappedMAF will be run. |
cores |
If set to NULL, then will run on a single core machine. If set to an integer, will attempt to run the permutation analysis on multiple cores. Note that this requires the foreach and doMC packages to run. |
prefix |
Prefix for files generated by analysis. Note that for each sample, three files will be generated: a (prefix-sample)-pvalue-results.txt file, a (prefix-sample)-copyNumberAndMutations.txt file, and a (prefix-sample)permute-test-(numMutations).txt file. |
numPermutes |
Number of mutations to run. Currently the default is set to 10000. |
geneIntTable |
Gene Node mapping table generated for intome object by buildGeneIntTable(). |
A list object with the following Slots:
cellResults |
A list where each slot consists of a data frame for each sample with the following columns: ghe "isMutated" column reports whether the surrogate gene itself is mutated or not. The "degree" column gives the total number of connection that surrogate gene has. The "neighborVec" column contains the number of neighboring mutations observed for that surrogate gene. Note that in this count, we include the surrogate gene if it is mutated. The "pvalue" column gives the p-value given the permutation analysis. Note that the smallest p-value is limited by the number of mutations (i.e., for 10000 mutations, the smallest p-value available is 10000^-1 = 1e-4) |
mutCopyFrames |
A list where each slot consists of a data frame containing information about observed mutations. The columns are "NodeName" (Node in network), "copy" (Number of copy number alterations observed in sample for that gene), "mutations" (number of mutations observed in that gene), "combined" (these two columns added together), "Gene" (Gene Symbol), "EntrezID", and "copyStatus" (whether the gene is called as amplified (1), neutral (0), or deleted (-1)). |
Ted Laderas
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.