Description Usage Arguments Value Author(s) See Also Examples
fetch.pair is a funtion to take in enhancer-gene linkage prediction information, probe information and gene annotation generating a Pair class object, which is the input for plotting functions. Options (pair, probeInfo, geneInfo) can take in R object or read files by specifying file paths.
1 | fetch.pair(pair, probeInfo, geneInfo)
|
pair |
A data.frame (R object) or a path of XX.csv file containing pair information such as
output of function |
probeInfo |
A GRnage object or a path of XX.rda file which only contains a GRange of probe information. |
geneInfo |
A GRnage object or path of XX.rda file which only contains a GRange of gene information such as Coordinates, GENEID and SYMBOL. |
A Pair class object containing 3 slots. Detail see Pair-class
Lijing Yao (maintainer: lijingya@usc.edu)
1 2 3 4 5 6 7 | df <- data.frame(Probe=c("cg19403323","cg12213388","cg26607897"),
GeneID =c("ID255928","ID84451","ID55811"),
Symbol =c("SYT14","KIAA1804","ADCY10"),
Pe=c(0.003322259,0.003322259,0.003322259))
geneInfo <- txs()
## input can be a path
pair <- fetch.pair(pair = df, geneInfo=geneInfo)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.