[R] How to loop over two files ...

Rasmus Liland jr@| @end|ng |rom po@teo@no
Sat Jun 20 01:42:44 CEST 2020


On 2020-06-19 14:34 -0500, Ana Marija wrote:
> 
> I have two files (each has 300 lines)like this:

The example looks quite similar to the R example in 
https://rest.ensembl.org/documentation/info/ld_pairwise_get#ra 
...

The question becomes: how did you query the 
600 variant names in 1g.txt and 1n.txt?

  curl 'https://rest.ensembl.org/ld/human/pairwise/rs6792369/rs1042779?' -H 'Content-type:application/json'

shows the 26 population_names for the 
rs6792369/rs1042779 combination ... 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20200620/07eaf84e/attachment.sig>


More information about the R-help mailing list