Displaying 2 results from an estimated 2 matches for "strain2".
Did you mean:
strain
2004 Oct 23
1
Legend/Substitute/Plotmath problem
Hello,
I seem unable to construct a legend which contains a substitution as
well as math symbols. I'm trying to do the following:
strain2 <- "YJG48"
legend.txt <- c(
substitute(
strain *
%==% *
"YJG45, rpn10" *
%Delta%,
list(strain=strain2)
),
"Verhulst/Logistic",
"Malthus"
)
legend(
100,2.5,
legend.txt,
cex=0.75,
bty="n",
pch=c(20,NA,NA),
lty=c(NA,1,2)
I d...
2009 Apr 07
2
Minimum Spanning Tree
Hi all, I'm very new to R and read a few tutorials, however I'm having
difficulty trying to figure out how to plot a minimum spanning tree. I have
a csv file that contains an n-by-n matrix of distances between strains of
bacteria called matrix.csv.
Looks like:
id,strain1, strain2,strain3
strain1,0,.2,.8
strain2,.3,0,.7
strain3,.4,.6,0
I've been messing around with some information I've found on the web that
prints out an mst, however I think it does it with random values, instead of
values provided in a dataset (like from my csv file). Here's what I tried
look...