getBiocViews(biocViews)
getBiocViews()所属R语言包:biocViews
Build a list of BiocView objects from a package repository
建立一个从包库BiocView对象列表
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Given the URL to a CRAN-style package repository containing a VIEWS file at the top-level and a graph-class object representing a DAG of views, this function returns a list of BiocView-class objects.
给定的URL 1 CRAN的风格包库,其中包含在顶层VIEWS文件和graph-class对象代表DAG的意见,这个函数返回一个BiocView-class对象名单。
用法----------Usage----------
getBiocViews(reposUrl, vocab, defaultView, local = FALSE, htmlDir = "")
参数----------Arguments----------
参数:reposUrl
URL for a CRAN-style repository that hosts a VIEWS file at the top-level.
为CRAN的风格库,承载VIEWS在顶层文件的URL。
参数:vocab
A graph-class object representing the ontology of views. This graph should be a directed acyclic graph (DAG).
一个graph-class对象代表的意见本体。此图应该是一个有向无环图(DAG)。
参数:defaultView
A string giving the term to use for packages that do not list a term of their own via the biocViews field in the "DESCRIPTION" file.
一个字符串,给出术语使用不通过biocViews领域列出一个属于自己的任期,在DESCRIPTION文件包。
参数:local
logical indicating whether to assume a local package repository. The default is FALSE in which case absolute links to package detail pages are created.
逻辑表明是否承担当地的包库。默认是FALSE在这种情况下,创建绝对包详细信息页面的链接。
参数:htmlDir
if the local argument is TRUE, this will be used as the relative path for package HTML files.
local如果TRUE论点是,这将作为包HTML文件的相对路径。
值----------Value----------
A list of BiocView-class objects. The names of the list give the name of the corresponding view.
BiocView-class对象名单。名单上的名字,给予相应的视图的名称。
作者(S)----------Author(s)----------
Seth Falcon
参见----------See Also----------
write_VIEWS, writeBiocViews
write_VIEWS,writeBiocViews
举例----------Examples----------
data(biocViewsVocab)
reposPath <- system.file("doc", package="biocViews")
reposUrl <- paste("file://", reposPath, sep="")
biocViews <- getBiocViews(reposUrl, biocViewsVocab, "NoViewProvided")
print(biocViews[1:2])
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|