Learn R Programming

GenomicTools (version 0.2.9.7)

print.eqtl: Print an eqtl Object

Description

Prints an eqtl object.

Usage

# S3 method for eqtl
print(x, which=NULL, sig=0.01, output="bed", ...)

Arguments

x

Object of class eqtl.

which

Which center gene should be printed.

sig

Significance level.

output

Output format.

...

Additional parameters.

Details

The function prints SNPs in the surroundings of a gene from an eqtl object.

By default all genes are considered, subsets can be defined with the which option. The sig option gives the threshold which results should be shown.

Examples

Run this code
# NOT RUN {
myeqtl <- eQTL(geneMatrix,genoData,singleLoc,genoSamples,singleSamples,windowSize,method="LM")
myeqtl
print(myeqtl, sig=0.05)
# }

Run the code above in your browser using DataLab