stringr Functions (Strings)
Use the character functions from the package stringr to print the following strings.
"atgcatgcatgcatgcatgcatgcatgcatgcatgcatgcatgcatgcatgcatgcatgc". Do this by duplicating “atgc” 15 times." Thank goodness it's Friday"without the leading white space (i.e., without the spaces before"Thank")."gcagtctgaggattccaccttctacctgggagagaggacatactatatcgcagcagtggaggtggaatgg"with all of the occurences of"a"replaced with"A".- Print the length of this dna sequence
"gccgatgtacatggaatatacttttcaggaaacacatatctgtggagagg". - The number of
"a"s in"gccgatgtacatggaatatacttttcaggaaacacatatctgtggagagg". - Print the first 20 positions of this dna sequence
"gccgatgtacatggaatatacttttcaggaaacacatatctgtggagagg". - Print the last 10 positions of this dna sequence
"gccgatgtacatggaatatacttttcaggaaacacatatctgtggagagg".