EzRef-class | R Documentation |
Objects of this class are a collection of references derived from a list of parameters.
EzRef(param)
## S4 method for signature 'EzRef,ANY'
x[i]
## S4 replacement method for signature 'EzRef,ANY,ANY,ANY'
x[i] <- value
x[i
: Access of slots by name with square brackets [ ]
`[`(x = EzRef, i = ANY, j = ANY) <- value
: Assignment to slots by name with square brackets [ ]
EzRef()
: Initializes the slots of EzRef. It will also try to specify some fields and if necessary get full file paths.
refBuild
a character specifying the file path to the reference build.
refBuildName
a character specifying the name of the reference build.
refBuildDir
a character specifying the directory of the reference build.
refIndex
a character specifying the location of the index that is used in the alignment.
refFeatureFile
a character specifying the file path to the annotation feature file (.gtf).
refAnnotationFile
a character specifying the file path to the annotation file (.txt). Subsetting species are automatically removed
refFastaFile
a character specifying the file path to the fasta file.
refChromSizesFile
a character specifying the file path to the file containing the chromosome sizes.
refAnnotationVersion
a character specifying the annotation version.
Rehrauer, Hubert
Schmid, Peter
cleanGenomeFiles
refBuild = "Saccharomyces_cerevisiae/Ensembl/EF4/Annotation/Version-2013-03-18"
genomesRoot = "./refExample"
param = ezParam(list(refBuild=refBuild, genomesRoot=genomesRoot))
gtf = system.file("extdata/genes.gtf", package="ezRun", mustWork = TRUE)
fp = system.file("extdata/genome.fa", package="ezRun", mustWork = TRUE)
buildRefDir(param$ezRef, fp, gtf)
buildIgvGenome(param$ezRef)
seqAnno = writeAnnotationFromGtf(param=param)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.