R

  • R: 使用公共数据库构建癌症预后模型

    ## If you need to download other cancers, simply replace TCGA-LIHC with the corresponding cancer abbreviation in the fir…

    06/30/2024
    11
  • 常用R包安装命令

     if (!requireNamespace(“BiocManager”, quietly = TRUE))   install.packages(“BiocManager”) BiocManager::install( c(“AnnoPr…

    R 06/30/2024
    20
  • R:circos.heatmap-绘制环形热图包

    The circos.heatmap() function Circular heatmaps are pretty. With circlize package, it is possible to implement circular …

    01/04/2024
    468
  • 安装Seurat-data包

    SeuratData 是一种利用 R 的内部软件包和数据管理系统以 Seurat 对象形式分发数据集的机制。它为用户访问 Seurat 小节中使用的数据集提供了一种简便的方法。安装: 1.安装devtools: install.packag…

    R 01/03/2024
    311
  • Error in split.default(seq_len(nrow(mat)), split) : group length is 0 but data length > 0

    Error: Error in split.default(seq_len(nrow(mat)), split) : group length is 0 but data length > 0

    R 01/03/2024
    276
  • R: Load in data from 10X

    Description Enables easy loading of sparse data matrices provided by 10X genomics. Usage Read10X( data.dir, gene.column …

    R 01/02/2024
    154
  • R:读取Excel的xls和xlsx格式文件

    #安装加载readxl包 library(“readxl”) #读取xlsx文件 file<-read_excel(“xxx.xlsx”) #读取表sheet read_excel(xl…

    R 12/05/2023
    235
  • AUC分析和ROC Curve解读

    在机器学习中,性能测量是一项必不可少的任务。因此,当涉及分类问题时,我们可以使用 AUC – ROC 曲线。当我们需要检查或可视化多类分类问题的性能时,我们会使用 AUC(Area Under the Receiver Oper…

    08/10/2023
    251
  • ggsci:ggplot2科学期刊主题调色板

    1.介绍 ggsci 提供一系列高质量的调色板,其灵感来自于科学期刊、数据可视化图书馆、科幻电影和电视节目中使用的颜色。.The color palettes in ggsci are available as ggplot2 scales…

    05/19/2022
    261
  • 利用R读取h5ad文件

    安装包 install.packages(“remotes”)remotes::install_github(“mojaveazure/seurat-disk”,force = TRUE) 加…

    R 05/13/2022
    590