Description Usage Arguments Value Examples
Install dependent data or software with finishing check
1 2 3 4 5 6 7 8 9 | runWithFinishCheck(func, refName, refFilePath = NULL, genome = NULL)
checkAndInstallBSgenome(refFilePath, genome = getGenome())
checkAndInstallOrgDb(refFilePath, genome = getGenome())
checkAndInstallTxDb(refFilePath, genome = getGenome())
checkAndInstallGenomeFa(refFilePath)
|
func |
|
refName |
|
refFilePath |
|
genome |
|
runWithFinishCheck |
No value will be returned |
checkAndInstallBSgenome |
check if there is the BSgenome package installed for curent genome and install it if not. No value will be returned. |
checkAndInstallOrgDb |
check if there is the OrgDb package installed for curent genome and install it if not. No value will be returned. |
checkAndInstallTxDb |
check if there is the TxDb package installed for curent genome and install it if not. Nothing will be returned. |
checkAndInstallGenomeFa |
check if genome FASTA file exist and install if not. No value will be returned |
1 2 3 4 5 6 7 8 9 10 | checkAndInstall <- function(){
runWithFinishCheck(func = checkAndInstallBSgenome,refName = "bsgenome")
runWithFinishCheck(func = checkAndInstallGenomeFa,refName = "fasta",
refFilePath = paste0(getGenome(),".fa"))
}
initPipeFrame(availableGenome = c("hg19", "hg38","mm9","mm10","testgenome"),
defaultJobName = paste0("pkgname","-pipeline")
)
setGenome("hg19")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.