"TGCTCAGGTAGCCTCACCTCC"
into a
DNAString object
, then evaluate:Hint: explore DNAString( )
function.
sequences <- c("AAATCGA", "ATACAACAT", "TTGCCA")
,
transform these sequences into a DNAStringSet object
.length()
,
nchar()
, [
, and sample()
?Hint: explore DNAStringSet( )
function.
DNAStringSet()
from an object that does not contain a DNA sequence?DNAStringSet("ACGTMRW")
? Why?Check this resource for more information.
BSgenome
genomes, identify the
Apis mellifera assembly from BeeBase and install the related
package.dna
.letterFrequency()
to evaluate the frequency of N
bases into the “Group1”prob = TRUE
as option in
letterFrequency()
. What does it change?[
is used to subset a DNAStringSet
, it
cannot be used to take substrings from a sequence. Instead, this can be
done usiing the subseq( )
function.DNAStringSet
by extracting sequences for
Group1
, Group2
and Group5
from
the genome of the previous exercises.subseq()
.Homo_sapiens.GRCh38.dna.chromosome.11.22.fa
from the
Datasets
folder. Explore the obtained object.