filterCDS {ribosomeProfilingQC} | R Documentation |
Filter CDS by CDS size.
filterCDS(CDS, sizeCutoff = 100L)
CDS |
Output of preparedCDS |
sizeCutoff |
numeric(1). Cutoff size for CDS. If the size of CDS is less than the cutoff, it will be filtered out. |
A GRanges object with filtered CDS.
#library(GenomicFeatures) library(BSgenome.Drerio.UCSC.danRer10) #txdb <- makeTxDbFromGFF(system.file("extdata", # "Danio_rerio.GRCz10.91.chr1.gtf.gz", # package="ribosomeProfilingQC"), # organism = "Danio rerio", # chrominfo = seqinfo(Drerio)["chr1"], # taxonomyId = 7955) #CDS <- prepareCDS(txdb) CDS <- readRDS(system.file("extdata", "CDS.rds", package="ribosomeProfilingQC")) filterCDS(CDS)