Question: an error in the Venn Diagram creating
0
gravatar for morteza.hadizade
9 months ago by
morteza.hadizade10 wrote:

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.

software error R • 146 views
ADD COMMENTlink written 9 months ago by morteza.hadizade10
Answer: C: an error in the Venn Diagram creating
1
gravatar for shepherl
9 months ago by
shepherl ♦♦ 1.6k
United States
shepherl ♦♦ 1.6k wrote:

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 COMMENTlink modified 9 months ago • written 9 months ago by shepherl ♦♦ 1.6k

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

ADD REPLYlink modified 9 months ago • written 9 months ago by morteza.hadizade10
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 251 users visited in the last hour