设为首页收藏本站获取积分奖励

R语言中文网

 找回密码
 立即注册
查看: 414|回复: 0

R语言new.analysis.pagenew.analysis.page()函数-中英文对照帮助文档

[复制链接]
发表于 2021-2-19 22:55:00 | 显示全部楼层 |阅读模式
        R语言new.analysis.pagenew.analysis.page()函数-中英文对照帮助文档

                                         By MicroRbt Martinez PhD

R语言函数名:new.analysis.page()
R语言函数功能:new.analysis.page
来自资源库:Bionconductor-software
new.analysis.page()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。

描述-----Description-----

Validate and prepare a handler for installation
验证并准备要安装的处理程序


使用方法-----Usage-----

new.analysis.page(handler, param.set = NULL, annotate.plot = TRUE,
class.name = "plot-point", standard.ids = TRUE, skip.checks = FALSE,
plot.pars.transformer = NULL, annotate.data.frame = TRUE,
numeric.sig.digs = 3, no.plot = FALSE, name = NULL, label = name,
description = label, advanced = 0, thumbnail = NULL, service = FALSE,
in.menu = !service, paramset.transformer = NULL)

参数-----Arguments-----

参数handler介绍: A handler function, as described above.
处理函数,如上所述。

参数param.set介绍: An AnalysisPageParamSet to use for the function. Or NULL, to call default.param.set. Note that it is not a requirement that all of the function arguments be included in the param set—they just won't be provided.
该函数要使用的AnalysisPageParamSet。或为NULL,以调用default.param.set。请注意,并非所有函数参数都应包含在参数集中-只需提供它们即可。

参数annotate.plot介绍: Logical. Should plots generated by this handler be automatically annotated? Default: TRUE.
逻辑上。此处理程序生成的图是否应自动注释?默认值:TRUE。

参数class.name介绍: Character. What class label should be applied to automatically annotated points? Default: "plot-point". (Ignored if annotate.plot is FALSE.)
字符。哪些类别标签应应用于自动注释的点?默认值:“ plot-point”。 (如果annotate.plot为FALSE,则将其忽略。)

参数standard.ids介绍: Logical. By default (TRUE), the rownames of your return value are ignored, and new ones are created like "Reg1","Reg2". The advantage of this is that these IDs are guaranteed to be standard-compliant HTML and SVG id tags. If you want to force using your real rownames as IDs (for example, to help in debugging), then set this to FALSE (FALSE is implemented but not tested). Or you can provide a function with the same signature as AnalysisPageServer:::make.standard.ids that will generate IDs for you (this is also implemented but not tested). When annotate.plot is FALSE (for example, when a PNG is requested) the rownames are always left alone and make.standard.ids is not called.
逻辑上。默认情况下(TRUE),将忽略返回值的行名,并创建新的行名,如“ Reg1”,“ Reg2”。这样做的好处是,可以确保这些ID是符合标准的HTML和SVG ID标签。如果要强制使用实际的行名作为ID(例如,以帮助调试),请将其设置为FALSE(已实现FALSE,但未经测试)。或者,您可以提供一个具有与AnalysisPageServer:::make.standard.ids相同的签名的函数,该函数将为您生成ID(也已实现但未经测试)。当annotate.plot为FALSE时(例如,当请求PNG时),行名始终保持单独状态,并且不调用make.standard.ids。

参数skip.checks介绍: Logical. By default (FALSE) your handler is run once on its default arguments, and it is checked that it makes an SVG and that the SVG can be annotated (if annotate.plot was set). This is important to get right, but doens't really need to be done during production—it just slows down the server start up.
逻辑上。默认情况下(FALSE),处理程序将在其默认参数上运行一次,并检查其是否制作了SVG并可以对SVG进行注释(如果设置了anateate.plot)。这一点很重要,但是在生产过程中并不需要做,这只会减慢服务器的启动速度。

参数plot.pars.transformer介绍: A function to transform plot parameters. It should have the signature function(plot=list(), other=list()) and return a list. The first argument is the plot parameters extracted from the user request (these are the parameters like "width" and "height" that are not related to the business of the request but are simply passed through to the device function), and the second is all the other parameters from the user request. The functinon returns a (named) list of further arguments to pass to the device function. The main use
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
购买主题 前行需要您的支持,请赞助作者 【15 金钱】 就能浏览全部100%内容啦!(本贴一次赞助、永久可读)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|R语言中文网    

GMT+8, 2024-6-27 02:16 , Processed in 0.029512 second(s), 21 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表