文章分类 -  R语言学习

摘要:[tcl] grab failed: window not viewable,Linux 上安装 R包时提示窗口抓取失败! 安装R时提示选择镜像,或者用chooseCRANmirror() 选择镜像时,提示如下 Error in structure(.External(.C_dotTclObjv, 阅读全文
posted @ 2019-08-23 14:59 何帅 阅读(2952) 评论(0) 推荐(0)
摘要:在linux中用同一个版本的R 同时安装 Seurat 2 和 Seurat 3 Seurat 作为单细胞分析中的重量级R包,有多好用用,用过的人都知道。Seurat 分析流程基本涵盖了单细胞分析中的所有常见分析方法,包括filtering,tSNE,UMAP降维及画图等。还有一个重量级功能就是矫正 阅读全文
posted @ 2019-08-19 21:00 何帅 阅读(2330) 评论(2) 推荐(0)
摘要:安装R-package XML遇到的问题和解决方式 这个问题已经困扰了我很久很久一直找不到解决之法,后来终于找到了! 安装R-package XML遇到的问题和解决方式 这个问题已经困扰了我很久很久一直找不到解决之法,后来终于找到了! Fedora 27, R 3.5.0, libxml和libxm 阅读全文
posted @ 2019-08-19 20:12 何帅 阅读(6674) 评论(0) 推荐(1)
摘要:Abbreviations of R Commands Explained: 250+ R Abbreviations (Fromhttp://jeromyanglim.blogspot.com/2010/05/abbreviations-of-r-commands-explained.html)T 阅读全文
posted @ 2017-06-22 23:48 何帅 阅读(211) 评论(0) 推荐(0)
摘要:Is there an already existing method of assigning each of those data.frame objects to separate variables? Error in list(x, y, z) <- split(mtcars, mtcar 阅读全文
posted @ 2017-06-21 08:46 何帅 阅读(210) 评论(0) 推荐(0)
摘要:read.table()读取数据文件 从带分隔符的文本文件导入数据read.table() read.table(file, header = FALSE, sep = “”,stringsAsFactors ,colClasses = NA) File是带分隔符的ASCII文本文件,sep用来指定 阅读全文
posted @ 2017-05-13 09:57 何帅 阅读(2852) 评论(0) 推荐(0)
摘要:RStudio快捷键 RStudio快捷键 控制台 功能Windows & LinuxMac 移动鼠标到控制台 Ctrl+2 Ctrl+2 控制台清屏 Ctrl+L Command+L 移动鼠标至第一行 Home Command+Left 移动鼠标至最后一行 End Command+Right 历史 阅读全文
posted @ 2017-05-04 16:06 何帅 阅读(617) 评论(0) 推荐(0)
摘要:R语言中的subset()应用 也可以使用select参数选择指定的列 以上是subset函数在结合data.frame进行条件筛选时的常见用法 subset函数还可以用在向量上,其实这从上面的用法中也能够推导出来,例如: 阅读全文
posted @ 2017-05-03 14:56 何帅 阅读(31138) 评论(0) 推荐(2)
摘要:Linux安装R语言包 1. R包介绍 R的包(package)通常有两种: 二进制代码包(Binary package):这种包属于即得即用型(ready-to-use),但是依赖与平台,比如Windows和Linux平台下不同。 源代码包(Source package): 此类包可以跨平台使用, 阅读全文
posted @ 2017-04-28 23:14 何帅 阅读(1020) 评论(0) 推荐(0)
摘要:Creating molten data Instead of thinking about data in terms of a matrix or a data frame where we have observations in the rows and variables in the c 阅读全文
posted @ 2017-04-28 22:46 何帅 阅读(167) 评论(0) 推荐(0)