The support.bioconductor.org editor has been updated to markdown! Please see more info at: Tutorial: Updated Support Site Editor

Question: an error in the Venn Diagram creating
0
gravatar for morteza.hadizade
5 weeks 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 • 63 views
ADD COMMENTlink written 5 weeks ago by morteza.hadizade10
Answer: C: an error in the Venn Diagram creating
1
gravatar for shepherl
5 weeks ago by
shepherl ♦♦ 1.1k
United States
shepherl ♦♦ 1.1k 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 5 weeks ago • written 5 weeks ago by shepherl ♦♦ 1.1k

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

ADD REPLYlink modified 29 days ago • written 29 days 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: 200 users visited in the last hour