找到约 15 条结果

问题 Rstudio server 报错可能原因,重启 服务器之后

...share/biosoft/R/latest/bin/R (system error 13 (Permission denied)); LOGGED FROM: bool rstudio::core::r_util::{anonymous}::validateRScriptPath(const string&, std::string*) src/cpp/core/r_util/REnvironmentPosix.cpp:301 2024-10-16T04:36:29.877306Z [rserver] ERROR Unable to determine real path of R...

文章 linux下samtools安装指南

.../zlibcd /biosoft/zlibcurl -O http://www.zlib.net/zlib-1.2.11.tar.gztar xvfz zlib-1.2.11.tar.gzcd zlib-1.2.11 进入解压后的zlib目录,执行以下命令安装zlib ./configuremake make checkmake install 在make install这一步,由于要把zlib安装到/usr/local/lib 路径下,...

文章 利用awk 对某一列数据取对数

awk 具有内置算术函数log(x),以e 为底可以对数据取对数运算,而以其他数值为底进行取对数可以基于这一函数进行转换,譬如  以2为底取对数: log(x)/log(2)即可。 下面针对数据第二列进行取对数,(数据从第二行开始进行计算,...

文章 R中的错误处理函数

...输入或状态符合预期。myFunction <- function(x) {  stopifnot(is.numeric(x), x > 0)  # 如果 x 不是数值类型或者不大于0,上面的代码会停止执行并抛出错误     ... has_na <- anyNA(marker_table(nested_results[[res_name]])$enrich_group) stopifnot(!has_n...

问题 reads 与基因组进行比对map

...d=SRR1107723_1 --rg SM:SRR1107723_1 --rg LB:SRR1107723_1 --rg PL:ILLUMINA -x $REF_INDEX --dta -1 $workdir/2.data_qc/SRR1107723_1.clean.fq.gz -S SRR1107723_1.sam 2>SRR1107723_1.summary 结果中只有SRR1107723_1.summary,打开SRR1107723_1.summary,内容最后两行为:Error: Must specify a...

问题 使用xpclr分析出现TypeError: ufunc 'true_divide' not supported for the input types'

...e analysis (69.36%) 2022-06-24 16:17:52 : INFO : Done dropping above SNPs from analysis. XP-CLR algorithm starting. 2022-06-24 16:17:53 : INFO : Omega estimated as : 1.861240 Traceback (most recent call last):   File "/public/home/weijiehong/miniconda3/bin/xpclr", line 4, in <module>   ...

文章 ggtree绘图lable显示不全如何调整

...circle")+ geom_tiplab(size=4)+ geom_text2(aes(label=label, subset = !is.na(as.numeric(label)) & as.numeric(label) > 1)) 可以通过调整绘图的x轴范围,使得lable信息不超出边界: p=ggtree(tree, ladderize=FALSE, size=0.3, branch.length="none",layout="circle")+ geom_tip...

文章 sklearn中使用pipeline重复处理测试集

...rom sklearn.metrics import r2_score, mean_squared_error# 产生训练数据X_train = 6 * np.random.rand(100, 1) - 3y_train = 0.5 * X_train ** 2 + X_train + 2 + np.random.rand(100, 1)plt.scatter(X_train, y_train)plt.show()pf = PolynomialFeatures()ss = StandardScaler()ln = LinearRegression()model = Pi...

问题 GSVA Error: useNames = NA is defunct. Instead, specify either useNames = TRUE or useNames = FALSE.

...d, specify either useNames = TRUE or useNames = FALSE. seems to be coming from a change in matrixStats 1.2 that released a couple of days ago. Can you downgrade to 1.1 and try?remotes::install_version("matrixStats", version="1.1.0") # restart your session and run previous scripts

问题 微生物多样性分析课程镜像ampliseq-q2运行出错:there is no package called ‘BiocManager’

...ads 2   --p-trim-left-f 29 --p-trim-left-r 18 提示: Plugin error from dada2: An error was encountered while running DADA2 in R (return code 1), please inspect stdout and stderr to learn more. Debug info has been saved to /tmp/qiime2-q2cli-err-u8wvbzh9.log 打开日志文件: Erro...

文章 R语言-Cox比例风险模型

...: coxph(formula = Surv(time, status) ~ sex, data = lung) n= 228, number of events= 165 coef exp(coef) se(coef) z Pr(>|z|) sex -0.5310 0.5880 0.1672 -3.176 0.00149 ** --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 exp(coef) exp...

问题 Error response from daemon: Get "https://registry-1.docker.io/v2/": tls: failed to verify certificate: x509: certificate is valid for *.ouc.edu.cn, ouc.edu.cn, not registry-1.docker.io

docker下载出现这种问题要怎么处理呢?linux系统(Ubuntu),非常着急,感恩感谢

文章 R语言ggplot2散点图添加拟合曲线和回归方程

首先模拟一份数据集df<-data.frame(x = c(1:100))df$y<- 2 + 3 * df$x + rnorm(100, sd = 40)head(df)ggplot2基本的散点图并添加拟合曲线library(ggplot2)p<- ggplot(data = df, aes(x = x, y = y)) + geom_smooth(method= "lm", se=FALSE,  color="black", formula = y ~ x...

问题 在docker中用cleandata与宿主序列比对得到sam文件这一步出现错误,

...}.bowtie.map.log  # Filter and output as SAM(or BAM),-f 4 to Remove reads from the alignment,  # if you want to keep the -F on the alignment (12 for both ends), add -b before the output to output in BAM format samtools view --threads 6 \ -f 12 -h \ $workdir/1.host_del_and_qc/cleandata/${i}.bowtie....

文章 空间转录组数据读取

.../st_class/data/CytAssist_FFPE_Mouse_Brain_Rep1', 'rep1')> rep1An object of class Seurat 19465 features across 2310 samples within 1 assay Active assay: Spatial (19465 features, 0 variable features) 1 layer present: counts 1 image present: slice1 如图,可以直接得到一个包含image的Seura...