an error in the Venn Diagram creating
1
0
Entering edit mode
@mortezahadizade-16792
Last seen 8 months ago
Iran

Hi every one,

I have a problem during creating the Venn Diagram,  after loading the VennDiagram package and my lists, when running the ListA&V1 command,  I will encounter the following error:

library(VennDiagram)

ListA<- read.csv("C:/R Database/List/mir-21.txt", header = FALSE)

ListB<- read.csv("C:/R Database/List/mir-29a.txt", header = FALSE)

ListC<- read.csv("C:/R Database/List/mir-29b.txt", header = FALSE)

ListD<- read.csv("C:/R Database/List/mir-29c.txt", header = FALSE)

head(ListA)

      V1

1  EPHA4

2  RASA1

3   FGL2

4  PEAK1

5 IL1RAP

6  VPS35

A<- ListA&V1

Error: object 'V1' not found

I would be grateful if you could guide me to resolve this error.

R software error • 1.3k views
ADD COMMENT
1
Entering edit mode
shepherl 4.1k
@lshep
Last seen 5 hours ago
United States

This is not the correct support site for VennDiagram, which is a CRAN package. Try R-help or stackoverflow.

However, if you are trying to access the column V1 from ListA the correct syntax is A <- ListA$V1 or A <- ListA[["V1"]]

ADD COMMENT
0
Entering edit mode

I Apologies for the delay in replying. Thank you so much for your guidance. Your answer was reasonable and accurate.

ADD REPLY

Login before adding your answer.

Traffic: 485 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