Displaying 20 results from an estimated 500 matches similar to: "from data.frame to Venn diagram"
2011 May 17
4
subsetting a list of dataframes
Hello All,
I have a list of dataframes, and I need to subset it by keeping only those
dataframes in the list that meet a certain criterion. Specifically, I need
to generate a second list which only includes those dataframes whose number
of rows is > 1.
Could someone suggest how to do this? I have come close to what I need with
loops and such, but there must be a less clumsy way...
Many
2011 Jun 05
2
kronecker sum
Dear All,
Could someone please suggest how to find the Kronecker sum of two 2x2
matrices,
i.e. given two matrices:
-A A
a -a
and
-B B
b -b
I need:
-A-B A B 0
a -a-B 0 B
b 0 -A-b A
0 b a -a-b
Many thanks,
Lara
[[alternative HTML version deleted]]
2010 Nov 15
2
rotate column names in large matrix
Dear List,
I have a large (1600*1600) matrix generated with symnum, that I am using to
eyeball the structure of a dataset.
I have abbreviated the column names with the abbr.colnames option. One way
to get an even more compact view of the matrix would be to display the
column names rotated by 90 degrees.
Any pointers on how to do this would be most useful. Any other tips for
displaying the
2011 Oct 03
1
function recode within sapply
Dear List,
I am using function recode, from package car, within sapply, as follows:
L3 <- LETTERS[1:3]
(d <- data.frame(cbind(x = 1, y = 1:10), fac1 = sample(L3, 10,
replace=TRUE), fac2 = sample(L3, 10, replace=TRUE), fac3 = sample(L3,
10, replace=TRUE)))
str(d)
d[, c("fac1", "fac2")] <- sapply(d[, c("fac1", "fac2")], recode,
"c('A',
2011 Mar 09
3
Venn Diagram corresponding to size in R
I was wondering if anyone could help me figure out how to make a Venn
diagram in R where the circles are scaled to the size of each dataset. I
have looked at the information for venn (in gplots) and vennDiagram (in
limma) and I cannot seem to figure out what parameter to change. I have
looked this up online and do not seem to be seeing anyone else who has
posted this question or the answer to it
2013 Jan 27
3
Package: VennDiagram. Error in draw.pairwise.venn Impossible: cross section area too large
Dear list,
When I use VennDiagram package, I got a error as follow:
venn.plot <- draw.pairwise.venn(
area1 = 3186,
area2 = 325,
cross.area = 5880);
Error in draw.pairwise.venn(area1 = 3186, area2 = 325, cross.area = 588) :
Impossible: cross section area too large.
Does anyone have suggestion?
Thank you.
2011 Aug 23
1
subsetting a list of matrices
Hi all,
I have an object that looks (roughly) like the following:
l <- list(a = matrix(rnorm(9), 3), b = matrix(rnorm(9), 3), c =
matrix(rnorm(9), 3))
l$a[3,] <- sample(c("Message 1", "Message 2", "Message 3"))
l$b[3,] <- sample(c("Message 1", "Message 2", "Message 3"))
l$c[3,] <- sample(c("Message 1",
2010 Nov 11
1
exploratory analysis of large categorical datasets
Dear List,
I am looking to perform exploratory analyses of two (relatively) large
datasets of categorical data. The first one is a binary 80x100 matrix, in
the form:
matrix(sample(c(0,1),25,replace=TRUE), nrow = 5, ncol=5, dimnames = list(c(
"group1", "group2","group3", "group4","group5"), c("V.1", "V.2", "V.3",
2012 Jan 19
1
venn.diagram how to control circle diameter
Hi there,
Is there a way to control the circle diameter in venn.diagram function of
VennDiagram package?
Thanks
Mike
[[alternative HTML version deleted]]
2010 Dec 07
1
colorful venn diagram
Hi all,
I am trying to plot a venn diagram using vennDiagram in limma package,
but I have no idea how to have it colorful such as the color one created
by the following website: http://www.pangloss.com/seidel/Protocols/venn.cgi.
Any one has any advice?
Thanks,
D.
2007 May 31
3
Venn diagram
Hello,
I am a total beginner with ?R? and found a package ?venn? to
create a venn diagram.
The problem is, I cannot create the vectors required for the diagram.
The manual say:
"R> venn(accession, libname, main = "All samples")
where accession was a vector containing the codes identifying
the RNA sequences, and libname was a vector containing the codes
identifying the
2010 Nov 19
1
negative axis values in image() and scalebar in cor.plot() {psych}
Dear List,
I sent a related message yesterday, but did not receive it through the
mailing list; on the R-help archives it reads as "An embedded and
charset-unspecified text was scrubbed...". So here it is again, with the
(little) progress I have made since then. Any help would be greatly
appreciated!
I am working with a relatively large correlation matrix (~1600*1600), which
I am
2010 Nov 24
1
diverting output from nested loops
Dear List,
I have a series of nested loops with the structure shown below, and I am
struggling to figure out how to divert output to folders created with
dir.create() within the loops.
What I need is for the output to end up as topNameK/subNameL/objNameM.pdf;
what I get instead is a series of directories topNameK/, directories
subNameL/, and files objNameM.pdf, all in the working directory. Any
2012 Jan 30
3
Venn Diagram help!!!!
Hi there ! I've got 7 Samples that may contain 29 differents kinds of
material.... every line below corresponds to a differente kind of material,
example: Sample 1, 2,3,5 and 6 has material 1 .... So I want to know how can
I do a Venn Diagram with the data below .... ps ( it was generated by a csv,
where every line is sep with (";")) Can someone helps me ?
thanks
csv file :
2011 Oct 02
1
generating Venn diagram with 6 sets
Dear r-helpers,
Here I would like to have your kind helps on generating Venn diagram.
There are some packages within R on this task, like venneuler, VennDiagram,
vennerable. But, vennerable can not be installed on my Mac book. It seems
VennDiagram can not work on my data. And, venneuler may have generated a
wrong Venn diagram to me.
Do you have any experience/expertise on those Venn diagram?
2010 Jan 31
2
help on Venn's diagram
Hello!
I have this problem: I want to create a Venn's diagram with three lists of genes'names. The first is all the genome, the second a subset of it comprising all mitochondrial genes, and the third including all genes that correlate with a given gene.
This is what I do:
> library(gplots)
> A<-read.delim("F:/.../mito genes just names.txt")
>
2002 May 15
1
Permission problems with samba 2.2.x
Hello,
Sometimes I have to create and use Navision Databases on samba shares - this
works with samba 2.0.x but does not with samba 2.2.x (tried 2.2.3a and 2.2.4).
The following tests were done with a acl enabeled samba and an acl aware
kernel/filesystem, but I also have done these tests with acl not compiled into
samba on an host without acl in the kernel - same result, does not work, same
2005 Jun 09
5
How to plot more than 3 sets in Venn Diagrams?
I'm trying to plot Venn diagrams with more than 3 sets (5 actually) in order to describe graphically the genetic variation between populations.
I tried the limma library but realised it can only plot 3 sets.
Is there any solution? Of course I could plot the chart manually but it'll take too long (have other datasets)..... One of my dataset is given below.
THanks for any advice.
j
2008 Sep 03
2
ANCOVA/glm missing/ignored interaction combinations
Hi
I am using R version 2.7.2. on a windows XP OS and have a question
concerning an analysis of covariance with count data I am trying to do,
I will give details of a scaled down version of the analysis (as I have
more covariates and need to take account of over-dispersion etc etc) but
as I am sure it is only a simple problem but I just can't see how to fix
it.
I have a data set with count
2013 Feb 22
4
HELP!!!
I am sorry to bug you, I am having this error whenever I want to run
random effects regression in software R: Error in if (sigma2$id < 0)
stop(paste("the estimated variance of the", :
missing value where TRUE/FALSE needed.
Please help me look into it.
[[alternative HTML version deleted]]