coerce-method(maigesPack)
coerce-method()所属R语言包:maigesPack
Coerce a maiges object to classes defined by packages limma and marray
强迫maiges对象由包limma和marray定义的类
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Coercing methods were defined to convert maiges objects of classes maiges and maigesRaw into objects of classes marrayNorm and marrayRaw from package marray or classes MAList and RGList from package limma and vice-versa.
胁迫方法被定义为转换类的maiges对象maiges和maigesRaw把类的对象marrayNorm和marrayRaw从包marray的或类MAList和<X >从包limma的,反之亦然。
用法----------Usage----------
## S4 method for signature 'maiges,marrayNorm'
as(from, to)
## S4 method for signature 'marrayNorm,maiges'
as(from, to)
## S4 method for signature 'maiges,MAList'
as(from, to)
## S4 method for signature 'MAList,maiges'
as(from, to)
## S4 method for signature 'maigesRaw,marrayRaw'
as(from, to)
## S4 method for signature 'marrayRaw,maigesRaw'
as(from, to)
## S4 method for signature 'maigesRaw,RGList'
as(from, to)
## S4 method for signature 'RGList,maigesRaw'
as(from, to)
参数----------Arguments----------
参数:from
object of class maiges, maigesRaw, MAList, RGList, marrayNorm or marrayRaw.
类对象maiges,maigesRaw,MAList,RGList,marrayNorm或marrayRaw。
参数:to
character string specifying the class of object to which the object from will be coerced
字符串指定对象的类,对象from将裹挟
Details
详情----------Details----------
When converting from objects of classes RGList or marrayRaw to class maigesRaw, the slot Sf and Sb will always receive the channel 2 (red) values, and Rf and Rb will always receive channel 1 (green) values. For the normalized ojects, the slot W will be equivalent to the M values.
类的对象转换时RGList或marrayRaw类maigesRaw,插槽Sf和Sb总是会收到2通道(红色)值, Rf和Rb将始终接收通道1(绿色)的值。插槽W对于归ojects,将相当于M值。
When converting from objects of classes maigesRaw or maiges to classes RGList, marrayRaw, MAList or marrayNorm the correct values of the two channels or of M values are calculated.
当转换类maigesRaw或maiges类RGList,marrayRaw,MAList或marrayNorm两个通道的正确的价值观或对象M值计算。
方法----------Methods----------
from = maiges, to = marrayNorm convert an object of class
从= maiges,以= marrayNorm类对象转换
from = marrayNorm, to = maiges convert an object of class
从= marrayNorm,= maiges转换类对象
from = maiges, to = MAList convert an object of class
,= maiges,= MAList类对象转换
from = MAList, to = maiges convert an object of class
,= MAList,为= maiges转换类对象
from = maigesRaw, to = marrayRaw convert an object of class
从= maigesRaw,= marrayRaw转换类对象
from = marrayRaw, to = maigesRaw convert an object of class
从= marrayRaw,= maigesRaw转换类对象
from = maigesRaw, to = RGList convert an object of class
从= maigesRaw,= RGList转换类对象
from = RGList, to = maigesRaw convert an object of class
从= RGList,= maigesRaw转换类对象
注意----------Note----------
It is possible to use Package convert to convert objects between classes defined in packages limma, marray and Biobase.
它是可以使用的包转换为转换之间,包limma,marray和BIOBASE定义的类的对象。
参见----------See Also----------
as in the methods package.
as的方法包。
举例----------Examples----------
## Loading the dataset[#载入数据集]
data(gastro)
## Converting a maigesRaw class object into marrayRaw object[#转换成marrayRaw对象一个maigesRaw类对象]
as(gastro.raw, "marrayRaw")
## Converting a maigesRaw class object into RGList[#转换成RGList maigesRaw类对象]
as(gastro.raw, "RGList")
## Converting a maiges class object into marrayNorm object[#转换成marrayNorm对象一个maiges类对象]
as(gastro.norm, "marrayNorm")
## Converting a maiges class object into MAList object[#转换成MAList对象一个maiges类对象]
as(gastro.summ, "MAList")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|