File: makeAncoraFiles.Rd

package info (click to toggle)
r-bioc-cner 1.34.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,216 kB
  • sloc: ansic: 23,458; makefile: 6
file content (51 lines) | stat: -rw-r--r-- 1,109 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
\name{makeAncoraFiles}
\alias{makeAncoraFiles}

\title{
  makeAncoraFiles
}
\description{
  Make ancora format files from \code{GRangePairs} of CNE
}
\usage{
  makeAncoraFiles(cne, outputDir = ".", 
                  genomeFirst = "first", genomeSecond = "second",
                  threshold = "50_50")
}

\arguments{
  \item{cne}{
    \code{GRangePairs} object of CNE.
  }
  \item{outputDir}{
    \code{character}(1): the output directory of 
    \sQuote{Bed} and \sQuote{BigWig} files.
  }
  \item{genomeFirst,genomeSecond}{
    \code{character}(1): the genome name of the first and second species.
  }
  \item{threshold}{
    \code{character}(1): the threshold used to identify the CNEs
    in the format of "50_50" etc
  }
}
\value{
  The filenames of output.
}

\author{
  Ge Tan
}
\note{
  This function is mainly for internal use in Lenhard group.
}

\seealso{
  \code{\link{readAncora}}
}
\examples{
  data(cneFinalListDanRer10Hg38)
  cne <- CNEFinal(cneFinalListDanRer10Hg38[["45_50"]])
  makeAncoraFiles(cne, genomeFirst = "danRer10", genomeSecond = "hg38",
                  threshold = "45_50")
}