plotCtLines(HTqPCR)
plotCtLines()所属R语言包:HTqPCR
Plotting Ct values from qPCR across multiple samples.
绘制多个样品定量PCR的Ct值。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function is for displaying a set of features from a qPCRset across multiple samples, such as a timeseries or different treatments. Values for each feature are connected by lines, and the can be averaged across groups rather than shown for individual smaples.
此功能是从qPCRset多个样本,如时间序列或不同的治疗方法,显示了一组功能。每个特征值连接线,可平均跨组而比个人smaples所示。
用法----------Usage----------
plotCtLines(q, genes, groups, col = brewer.pal(10, "Spectral"), xlab = "Sample", ylab = "Ct", legend = TRUE, lwd = 2, lty, pch, xlim, ...)
参数----------Arguments----------
参数:q
object of class qPCRset.
对象类qPCRset。
参数:genes
numeric or character vector, selected genes to make the plot for.
数字或字符的向量,选择的基因,使图。
参数:groups
vector, the different groups that the samples in q belong to. See details.
向量,样品中的q属于不同的群体。查看详情。
参数:col
vector, colours to use for the lines.
向量,颜色为线使用。
参数:xlab
character string, label for the x-axis.
字符串,x轴的标签。
参数:ylab
character string, label for the y-axis.
字符串,y轴的标签。
参数:legend
logical, whether to include a colour legend or not.
逻辑,是否包括色彩的传说,或不。
参数:lwd
numeric, the width of the lines.
数字,线条的宽度。
参数:lty
vector, line types to use. See par or lines for details.
向量,线路类型使用。详情请参阅par或lines。
参数:pch
vector, if groups is set, the point types that will be used for each feature in genes.
向量,如果groups设置,点类型将用于每个功能在genes。
参数:xlim
vector of length two, the limits for the x-axis. Mainly used for adjusting the position of the legend.
长度为二的向量,x轴的限制。主要用于调整图例的位置。
参数:...
any other arguments will be passed to the matplot function.
任何其他参数将被传递给matplot功能。
Details
详情----------Details----------
The default plot shows the Ct values across all samples in q, with lines connecting the samples. However, if groups is set the Ct values will be averaged within groups. Lines connect these averages, but the individual values are shown with different point types, as chosen in pch.
默认的图显示了在所有样品中的q,用线连接样品的Ct值。然而,如果groups设置Ct值将平均组内。线路连接这些平均数,但个人价值与不同点类型,如选择在pch所示。
值----------Value----------
A plot is created on the current graphics device.
当前图形设备上创建一个图。
作者(S)----------Author(s)----------
Heidi Dvinge
参见----------See Also----------
matplot
matplot
举例----------Examples----------
# Load some example data[加载一些示例数据]
data(qPCRraw)
samples <- exFiles <- read.delim(file.path(system.file("exData", package="HTqPCR"), "files.txt"))
# Draw dfferent plots[绘制dfferent图]
plotCtLines(qPCRraw, genes=1:10)
plotCtLines(qPCRraw, genes=1:10, groups=samples$Treatment, xlim=c(0,3))
plotCtLines(qPCRraw, genes=1:10, col=as.numeric(featureType(qPCRraw)[1:10]))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|