R script error R aborted or encountered a fatal error
0
0
Entering edit mode
20 months ago

Hello everyone

I am trying to make a cluster dendrogram for my rna seq gene expression data.

This is the script am using

set.seed(786)

file_loc <- 'seeds.txt'
seeds_df <- read.table('data.txt', header =T)
str(seeds_df)
summary(seeds_df)
any(is.na(seeds_df))

seeds_label <- seeds_df$type.of.seed
seeds_df$type.of.seed <- NULL
str(seeds_df)

seeds_df_sc <- as.data.frame(scale(seeds_df))
summary(seeds_df_sc)

dist_mat <- dist(seeds_df_sc, method = 'euclidean')

hc <- hclust(dist_mat)
plot(hc)

but every time I am having this error:

R aborted or encountered a fatal error

Please help on this troubleshoot

linux R • 886 views
ADD COMMENT
1
Entering edit mode

Have you run the script line by line and found which line is causing the error?

ADD REPLY
0
Entering edit mode

you may be producing a super large file and you computer can't handle it

ADD REPLY

Login before adding your answer.

Traffic: 1620 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6