找回密码
 注册
查看: 472|回复: 0

R语言 limma包 protectMetachar()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 23:23:45 | 显示全部楼层 |阅读模式
protectMetachar(limma)
protectMetachar()所属R语言包:limma

                                        Protect Metacharacters
                                         保护元字符

                                         译者:生物统计家园网 机器人LoveR

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

Add backslashes before any metacharacters found in a string.
字符串中发现任何元字符前添加反斜杠。


用法----------Usage----------


protectMetachar(x)



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

参数:x
character vector
特征向量


Details

详情----------Details----------

This function is used to protect strings containing metacharacters so that the metacharacters can be treated as ordinary characters in string matching functions operations.
此功能是用来保护含元字符的字符串,所以可以作为普通字符的字符串匹配功能操作处理的元字符。


值----------Value----------

A character vector of the same length as x in which two backslashes have been inserted before any metacharacter.
特征向量的长度相同x在这两个反斜杠之前已插入任何字元。


作者(S)----------Author(s)----------


Gordon Smyth



参见----------See Also----------

An overview of LIMMA functions for reading data is given in 03.ReadingData.
在03.ReadingData一个读取数据LIMMA功能的概述。


举例----------Examples----------


# without protectMetachar, this would be no match[没有protectMetachar,这将是不匹配]
grep(protectMetachar("Ch1 (mean)"),"Ch1 (mean)")

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-5 00:54 , Processed in 0.024071 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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