Bioinformatics/Sequence mutation: Difference between revisions
Content added Content deleted
(→{{header|Ruby}}: Add Ruby) |
|||
Line 2,621: | Line 2,621: | ||
end |
end |
||
def mutate( |
def mutate(n = 10) |
||
n.times{|n| method([:s, :d, :i].sample).call} |
n.times{|n| method([:s, :d, :i].sample).call} |
||
end |
end |