Displaying 3 results from an estimated 3 matches for "sample10".
Did you mean:
sample1
2010 May 21
2
Data reconstruction following PCA using Eigen function
....7742632 -1.12515017 -0.5720099 0.2243808 0.5420693
Sample8 0.4176988 -0.35906123 -0.07190644 0.90045123 -1.0621902
0.2693762 -0.38033715 0.6267548 0.4767652 0.3012347
Sample9 0.1088066 -0.32197951 0.46665158 -1.72560781 0.7375796
0.2794331 1.00171777 -0.1087306 1.2519195 -0.8848459
Sample10 -0.3651829 1.00253167 -0.12004007 0.34972942 -2.1310389
0.7162622 -0.19072440 -2.0173607 -0.9407956 -2.4224372
I first multiply the matrix by the transposed matrix:
> xxt=adjusted_dummyset %*% t(adjusted_dummyset)
> xxt
Sample1 Sample2 Sample3 Sample4 Sample5 S...
2011 Jan 20
1
Problems with ecodist
...5246 2092.9254 8568.467
3518.9508 1182.826 6572.264 0.000 3647.8307
Loc12 3112.680 1314.6927 1063.8092 10253.957 1670.4862 1558.8962 8654.392
631.5406 3397.490 7497.861 3647.831 0.0000
> distancematrix
sample1 sample2 sample3 sample4 sample5 sample6 sample7 sample8
sample9 sample10 sample11 sample12
sample1 0.0000 0.0229 0.0258 0.0394 0.0295 0.0337 0.0269 0.0345
0.0314 0.0418 0.0577 0.0853
sample2 0.0229 0.0000 0.0219 0.0373 0.0337 0.0352 0.0320 0.0310
0.0275 0.0508 0.0533 0.0739
sample3 0.0258 0.0219 0.0000 0.0349 0.0375 0.0332 0.0309...
2012 Jun 14
1
Question about sampling
...lation genotypized for 10 SNP a
subsample of the same population of size n with similar allele frequencies.
Essentially i have a matrix of 200 rows (df) like this
Name,Condition,rs1385699_X,rs6625163_X,rs962458_X,Rs4658627_1,
sample01,Case,1,1,1,-1
sample02,Control,1,1,1,1
sample06,Control,1,-1,1,0
sample10,Case,1,1,1,0
sample11,Control,1,1,1,1
sample24,Control,-1,-1,1,0
sample29,Control,1,-1,1,0
sample42,Case,-1,-1,1,0
sample64,Case,-1,1,1,0
....
I'm interested to mantain in my subsample the same frequencies of those
observed for the 1 value in each column
I approached the problem with sample() f...