A function to plot the original data along with the segments
一个函数来绘制原始数据段
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function takes a DNAcopy object generated by running getSegments and then plots the original data along with the segments identified.
这个函数接受一个DNAcopy运行getSegments然后图段确定的原始数据产生的对象。
用法----------Usage----------
plot.DNAcopy(x, ..., save = FALSE, layout)
参数----------Arguments----------
参数:x
x is a DNAcopy object generated by getSegments
x是DNAcopy的对象getSegments产生
参数:...
... may contain an optional boolean for save to indicate whether to show the plot on the screen (FALSE. Default) or return the name of the plot (TRUE) to allow the users to save the plot
...可能包含一个可选的布尔保存,以指示是否显示在屏幕上的图(FALSE.默认)或返回图(TRUE)的名称,可以让用户节省图
参数:save
save a boolean indicating wheather the plot will be draw on the screen only (FALSE) or the name of the png file of the plot be returned (TRUE)
save一个布尔值,指示wheather的图将在屏幕上绘制只(FALSE)或png文件名的图被返回(真)
参数:layout
layout a numeric vector of two elements defining the values used for mfrow of the function par for the layout of figures on a plot
layout的两个元素的值用于布局数字的功能面值mfrow对图的数字向量
Details
详情----------Details----------
This function only works with the DNAcopy returned by getSegments. It will work with the DNAcopy returned by segment of the DNAcopy package when the a column containing the probe ids is added as the first column of the "data" element of the object.
此功能只适用于与getSegments返回的DNAcopy。它将工作与段的DNAcopy包返回时为对象的“数据”元素的第一列中添加一个列包含探针IDS DNAcopy。
值----------Value----------
This function returns invisible() or the name of the plot depending on whether save is set to FALSE of TRUE.
这个函数返回无形()或小区名称上取决于是否保存设置为FALSE为TRUE。
注意----------Note----------
The function is a contribution of The Center for Applied Cancer
该函数是一个应用癌症中心的贡献