计算R中数据帧的距离,聚类和热图

时间:2017-09-06 10:53:39

标签: r heatmap

这是我描述两条染色体之间成对相似性(列ps)的数据框架:

 Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The service "" is not provided by the AWS SDK for PHP.' in /opt/lampp/htdocs/researchworks/vipin/pinpoint-demo/aws-sdk/Aws/functions.php:347 Stack trace: #0 /opt/lampp/htdocs/researchworks/vipin/pinpoint-demo/aws-sdk/Aws/AwsClient.php(129): Aws\manifest('') #1 /opt/lampp/htdocs/researchworks/vipin/pinpoint-demo/index.php(13): Aws\AwsClient->__construct(Array) #2 {main} thrown in /opt/lampp/htdocs/researchworks/vipin/pinpoint-demo/aws-sdk/Aws/functions.php on line 347

现在这就是我所做的:

> head(df)
  miRNA.chr Target.chr      ps
  <ord>     <fctr>   <int>
1      chr1       chr1 4161600
2      chr1       chr2 2547960
3      chr1       chr3 2186880
4      chr1       chr4 1523880
5      chr1       chr5 1799280
6      chr1       chr6 2111400

显然它不起作用。

我需要这样的热图: Heatmap in figure 1A

谢谢大家的帮助。

0 个答案:

没有答案