<div dir="ltr"><div>Gisele, boa noite!</div><div><br></div>Rode o código abaixo e havendo erros, copie e cole a mensagem mostrada no console em seu próximo email.<br><div><br></div><div><div><font face="courier new, monospace" color="#9900ff">### <code r></font></div>
<div><font face="courier new, monospace" color="#9900ff">install.packages(c("synbreed", "synbreedData"), dep=TRUE) ### instala pacotes</font></div><div><font face="courier new, monospace" color="#9900ff">library(synbreed) ### requisita pacote</font></div>
<div><font face="courier new, monospace" color="#9900ff">library(synbreedData) ### requisita pacote</font></div><div><font face="courier new, monospace" color="#9900ff">(.packages()) ### verifica pacotes carregados!</font></div>
<div><font face="courier new, monospace" color="#9900ff"><br></font></div><div><font face="courier new, monospace" color="#9900ff">data(maize)</font></div><div><font face="courier new, monospace" color="#9900ff">newDHpheno <- data.frame(Trait=1000,row.names="newDH"); newDHpheno</font></div>
<div><font face="courier new, monospace" color="#9900ff"><br></font></div><div><font face="courier new, monospace" color="#9900ff">#simulating genotypic data</font></div><div><font face="courier new, monospace" color="#9900ff">newDHgeno <- matrix(sample(c(0,1), ncol(maize$geno), replace=TRUE), nrow=1)</font></div>
<div><font face="courier new, monospace" color="#9900ff">rownames(newDHgeno) <- "newDH"</font></div><div><font face="courier new, monospace" color="#9900ff"><br></font></div><div><font face="courier new, monospace" color="#9900ff">#new pedigree</font></div>
<div><font face="courier new, monospace" color="#9900ff">newDHpedigree <- data.frame(ID="newDH", Par1=0, Par2=0, gener=0)</font></div><div><font face="courier new, monospace" color="#9900ff"><br></font></div>
<div><font face="courier new, monospace" color="#9900ff">#new covar information</font></div><div><font face="courier new, monospace" color="#9900ff">newDHcovar <- data.frame(family=NA, DH=1, tbv=1000, row.names="newDH")</font></div>
<div><font face="courier new, monospace" color="#9900ff"><br></font></div><div><font face="courier new, monospace" color="#9900ff"># add individual </font></div><div><font face="courier new, monospace" color="#9900ff">maize2 <- add.individuals(maize,newDHpheno,newDHgeno,newDHpedigree,newDHcovar)</font></div>
<div><font face="courier new, monospace" color="#9900ff">summary(maize2)</font></div><div><font face="courier new, monospace" color="#9900ff">### </code></font></div></div><div><font face="arial, helvetica, sans-serif"><br>
</font></div><div><font color="#000000"><font face="arial, helvetica, sans-serif">Aqui roda sem problemas... Veja a saída de </font><span style="font-family:'courier new',monospace">summary(maize2)</span><font face="arial, helvetica, sans-serif">logo abaixo:</font></font></div>
<div><font face="arial, helvetica, sans-serif" color="#000000"><br></font></div><div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000">> summary(maize2)</font></div><div>
<font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000">object of class 'gpData' </font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000">covar </font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><span class="" style="white-space:pre"> </span> No. of individuals 1611 </font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><span class="" style="white-space:pre"> </span> phenotyped 1251 </font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><span class="" style="white-space:pre"> </span> genotyped 1251 </font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000">pheno </font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><span class="" style="white-space:pre"> </span> No. of traits:<span class="" style="white-space:pre"> </span> 1 </font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><br></font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"> Trait </font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"> Min. : 120.7 </font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"> 1st Qu.: 142.8 </font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"> Median : 148.9 </font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"> Mean : 149.6 </font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"> 3rd Qu.: 154.9 </font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"> Max. :1000.0 </font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><br></font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000">geno </font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><span class="" style="white-space:pre"> </span> No. of markers 1117 </font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><span class="" style="white-space:pre"> </span> genotypes 0 1 </font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><span class="" style="white-space:pre"> </span> frequencies 0.340134 0.659866 </font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><span class="" style="white-space:pre"> </span> NA's 0.000 %</font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000">map </font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><span class="" style="white-space:pre"> </span> No. of mapped markers 1117 </font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><span class="" style="white-space:pre"> </span> No. of chromosomes 10 </font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><br>
</font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><span class="" style="white-space:pre"> </span> markers per chromosome </font></div><div><span class="" style="white-space:pre;background-color:rgb(255,255,255)"><font face="courier new, monospace" color="#000000"> </font></span></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"> 1 2 3 4 5 6 7 8 9 10 </font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"> 76 96 99 122 85 106 154 130 121 128 </font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><br></font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000">pedigree </font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000">Number of </font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><span class="" style="white-space:pre"> </span> individuals 1611 </font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><span class="" style="white-space:pre"> </span> Par 1 219 </font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><span class="" style="white-space:pre"> </span> Par 2 221 </font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000"><span class="" style="white-space:pre"> </span> generations 15 </font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#000000">> </font></div>
</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Éder Comunello <<a href="mailto:comunello.eder@gmail.com" target="_blank">c</a><a href="mailto:omunello.eder@gmail.com" target="_blank">omunello.eder@gmail.com</a>> <br>
Dourados, MS - [22 16.5'S, 54 49'W]<br></div></div>
<br><br></div></div>