Last data update: 2014.03.03

R: Export toptable or correlation data frame
showResults,CorResult-methodR Documentation

Export toptable or correlation data frame

Description

Export toptable or correlation data frame

Usage

## S4 method for signature 'CorResult'
showResults(object)

Arguments

object

A DGEResult or CorResult object

Value

Returns correlation results data frame

Examples

data(RTCGASample)
corRes = getCNGECorrelation(RTCGASample,adj.pval = 1,raw.pval = 1)
corRes
showResults(corRes[[1]])

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(RTCGAToolbox)
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/RTCGAToolbox/showResults-CorResult.Rd_%03d_medium.png", width=480, height=480)
> ### Name: showResults,CorResult-method
> ### Title: Export toptable or correlation data frame
> ### Aliases: showResults,CorResult,CorResult-method
> ###   showResults,CorResult-method
> 
> ### ** Examples
> 
> data(RTCGASample)
RTCGASample dataset is artificially created for function test.
It isn't biologically meaninful and it has no relation with any cancer type.
For real datasets, please use client function to get data from data portal.
> corRes = getCNGECorrelation(RTCGASample,adj.pval = 1,raw.pval = 1)
> corRes
[[1]]
Dataset:RNASeq
CorResult object, dim: 800	4

> showResults(corRes[[1]])
Dataset: RNASeq
  GeneSymbol         Cor adj.p.value    p.value
1      LYZL1 -0.14654634   0.9317555 0.36687874
2     SEPHS1 -0.37693816   0.6287624 0.01650501
3   FLJ45983  0.14150035   0.9428853 0.38378545
4     TUBAL3 -0.06913254   0.9712442 0.67165645
5      PRKCQ -0.18959020   0.8688328 0.24131149
6      WDR37 -0.20867359   0.8688328 0.19628861
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>