[BioRuby-cvs] bioruby/lib/bio map.rb,1.3,1.4
Jan Aerts
aerts at dev.open-bio.org
Thu May 4 16:20:52 UTC 2006
Update of /home/repository/bioruby/bioruby/lib/bio
In directory dev.open-bio.org:/tmp/cvs-serv19722
Modified Files:
map.rb
Log Message:
Correction of documentation of add_mapping
Index: map.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/map.rb,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** map.rb 4 May 2006 13:59:18 -0000 1.3
--- map.rb 4 May 2006 16:20:50 -0000 1.4
***************
*** 41,47 ****
# my_map2 = Bio::Map::SimpleMap.new('consensus', 'linkage', 'cM')
#
! # my_map1.add_mapping(my_marker1, '17')
! # my_map1.add_mapping(Bio::Map::Marker.new('marker2'), '5')
! # my_marker3.add_mapping(my_map1, '9')
#
# puts "Does my_map1 contain marker3? => " + my_map1.contains_marker?(my_marker3).to_s
--- 41,47 ----
# my_map2 = Bio::Map::SimpleMap.new('consensus', 'linkage', 'cM')
#
! # my_map1.add_mapping_to_marker(my_marker1, '17')
! # my_map1.add_mapping_to_marker(Bio::Map::Marker.new('marker2'), '5')
! # my_marker3.add_mapping_to_marker(my_map1, '9')
#
# puts "Does my_map1 contain marker3? => " + my_map1.contains_marker?(my_marker3).to_s
***************
*** 73,77 ****
# = USAGE
# # suppose we have a Bio::Map::SimpleMap object called my_map
! # my_map.add_mapping(Bio::Map::Marker.new('marker_a'), '5')
# ---
# *Arguments*:
--- 73,77 ----
# = USAGE
# # suppose we have a Bio::Map::SimpleMap object called my_map
! # my_map.add_mapping_to_marker(Bio::Map::Marker.new('marker_a'), '5')
# ---
# *Arguments*:
***************
*** 133,137 ****
# = USAGE
# # suppose we have a Bio::Map::Marker object called marker_a
! # marker_a.add_mapping(Bio::Map::SimpleMap.new('my_map'), '5')
# ---
# *Arguments*:
--- 133,137 ----
# = USAGE
# # suppose we have a Bio::Map::Marker object called marker_a
! # marker_a.add_mapping_to_map(Bio::Map::SimpleMap.new('my_map'), '5')
# ---
# *Arguments*:
More information about the bioruby-cvs
mailing list