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

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

[复制链接]
发表于 2012-2-25 19:30:05 | 显示全部楼层 |阅读模式
strand(GenomicRanges)
strand()所属R语言包:GenomicRanges

                                        Accessing strand information
                                         访问链信息

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

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

The strand generic is meant as an accessor for strand information. Four methods are defined by the GenomicRanges package, described below.
strand通用是链信息存取。四种方法定义所述,由GenomicRanges包。


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


strand(x)



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

参数:x
The object from which to obtain a strand factor, can be missing.
对象从中获得股的因素,可以失踪。


Details

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

If x is missing, returns an empty factor with the standard levels that any strand factor should have: +, -, and * (for either).
如果x丢失,返回一个空的因素,与标准的水平应该有任何股因素:+,-,*(要么)。

If x is a character vector or factor, it is coerced to a factor with the levels listed above.
如果x是一个特征向量或因素,它是被迫的因素与上面列出的水平。

If x is an integer vector, it is coerced to a factor with the levels listed above. 1 and -1 values in x are mapped to the + and - levels respectively. NAs in x produce NAs in the result.
如果x是一个整数向量,它是被迫的因素与上面列出的水平。 1和-1x+和-水平分别映射值。 NA中x生产NA的结果。

If x is a logical vector, it is coerced to a factor with the levels listed above. FALSE and TRUE values in x are mapped to the + and - levels respectively. NAs in x produce NAs in the result.
如果x是一个逻辑的向量,它是被迫的因素与上面列出的水平。 FALSE和TRUEx+和-水平分别映射值。 NA中x生产NA的结果。

If x inherits from DataTable, the "strand" column is returned as a factor with the levels listed above. If x has no "strand" column, this return value is populated with NAs.
x如果继承DataTable,"strand"列返回与上面列出的水平的一个因素。如果x有没有"strand"列,这个返回值填入NA的。


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


Michael Lawrence



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


strand()
strand(c("+", "-", NA, "*"))
strand(c(-1L, 1L, NA, -1L, NA))
strand(c(FALSE, FALSE, TRUE, NA, TRUE, FALSE))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-7 10:11 , Processed in 0.025711 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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