- 博客(6)
- 收藏
- 关注
原创 将Rmarkdown 转为html或pdf
编写一个测试 Rmarkdown, t2.Rmd---title: 'T_001'---```{r setup, include=FALSE}knitr::opts_chunk$set(echo=TRUE)``````{r cars}summary(cars)```embed plots, for example```{r scatter plot, echo=FALSE}plot(cars)``````{r line plot, echo=FALSE...
2021-01-29 22:15:33
1793
原创 C#学习(一)
安装了dotnet 之后dotnet new console -o pro_Read01编写代码 vim pro_Read01/Program.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace test_Read02{ class Program { st
2020-12-08 15:14:03
137
原创 初步分析CCLE和GDSC的数据——RNA表达矩阵
CCLE是Cancer Cell Line Encyclopedia的简称, 是与肿瘤有关的细胞系的百科全书项目。GDSC是Genomics of Drug Sensitivity in Cancer的简称,其中也有细胞系的药物敏感性数据。下载细胞系的相关信息文件wgetftp://ftp.sanger.ac.uk/pub/project/cancerrxgene/releas...
2019-06-27 16:37:22
6267
原创 R语言 读取文件,一行一行处理, 写入文件
#!/usr/bin/env Rscripta character(4)a[1] "Hello"a[2] "World"a[3] "Ti"a[4] "ET"x paste(a, collapse='\t')print(x)# 写入文件,用sink函数sink("Te_Result.txt")
2017-03-05 16:08:26
16205
2
转载 C语言 字符串截取
转载 作者:iamlaosongC语言字符串截取需要自己编程实现,不过,网络时代,自然不用自己从头写了,网上各种方法的实现代码已经多如牛毛了,这儿抄录一个感觉不错的备案。[cpp] view plain copy#include #include /*从字符串的左边截取n个字符*/ char * left(ch
2017-03-05 16:07:06
1881
转载 C语言截取字符串
char* substr(const char*str,unsigned start, unsigned end){ unsigned n = end - start; static char stbuf[256]; strncpy(stbuf, str + start, n); stbuf[n] = 0; return stbuf;} c中
2017-03-05 16:04:26
1145
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人