Description Usage Arguments Details Value Author(s) See Also Examples
Compute Spearman correlation of all probe combination between two sets of genomic data within a gene.
1 2 | PrbCor (geneSet, Edat, Mdat, EMlbl = c("Expr", "Methyl"), phdat,
pcut = 0.05)
|
geneSet |
a gene set collection to annotate probes to gene |
Edat |
data frame of the first form of genomic data, such as gene expression data with row being probes and column being subjects. The column names should match the row names phdat |
Mdat |
data frame of the second form of genomic data, such as methylation data with row being probes and column being subjects. The column names should match the row names phdat |
EMlbl |
lablel of the genomic data, default=c("Expr", "Methyl") for Edat and Mdat |
phdat |
phenotype data with row being subjects and column being phenotype variables. The row names should match the column names of Edat and Mdat |
pcut |
p value cutoff to eliminate probe pairs that are not significantly correlated. Default is 0.05 |
The function performs Spearman correlation for all probe pairs between two forms genomic data within each gene (Edat and Mdat) defined by gann. If a gene only has one form of genomic data, the other form is coded as NA. The function return a list of two components. See value for details.
The output of the function is a list of length 2. The 2 components are as following:
res |
spearman correlation result: a data frame with row for each probe pair with correlation p value < pcut and five columns; Gene: Gene names; EMlbl[1]: probe id in the first form data; EMlbl[2]: probe id in the second form data; Spearman.rstat: Spearman r statistics; Spearman.p: Spearman p value. |
gen |
Probe level data: a data frame with row for each probe pairs, first half of columns for first form genomic data and second half of columns for second form genomic data with sign reflecting the correlation of the probe pair. |
Xueyuan Cao Xueyuan.cao@stjude.org, Stanley Pounds stanley.pounds@stjude.org
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.