Open lgatto opened 7 years ago
I would also add the Proteins(file = "EnsDb", unitprotIds = "missing")
constructor to fetch the data from an EnsDb
.
Is mapToGenome
now removed?
Update. Feel free to modify the post above (or let me know if you can't).
mapToGenome
and pmapToGenome
support now the pcol
argument and work with the new Proteins
objects.
This is a list of (exported) symbols that are reviewed in the light of the new class implementation (see #38). Issue opened for progress tracking and general API discussion.
Constructor
Proteins(file = "missing", unitprotIds = "missing")
## empty objectProteins(file = "character", unitprotIds = "missing")
## fasta file(s)Proteins(file = "missing", uniprotIds = "character")
## not yet implementedProteins(file = "EnsDb", unitprotIds = "missing")
Accessors
seqnames
, returns acharacter(n)
aa
returns anAAStringSet
(aa
slot)acols
returns aDataFrame
corresponding to theaa
annotationspcols
returns aDataFrame
corresponding to thepranges
annotationspranges
returns aDataFrame
with theIRangesList
rangesavarLabels
returns the names of the sequence annotations (excluding thepranges
names)pvarLabels
returns the names of thepranges
pranges
mcols.Ranges:
aaranges
(unexported)pfeatures
Replacement functions
acols(x) <-
acols(x)$ <-
pranges(x) <-
pranges(x)$ <-
Processing
cleave
,isCleaved
proteotypic
proteinCoverage
calculateHeavyLabels
rmEmptyRanges
pfilter
addPeptideFragments
Mapping
splitExonJunctions
tryCatchMapToGenome
proteinCoding
pmapToGenome
andpmapToGenome2
maptoGenome
isReverse
andisForward
etrid2grl
biotype
Plotting
plot
plotAsGeneRegionTrack
plotAsAnnotationTrack
Parameters
Pparams
Deprecated
pcols
(pmetadata
) should return a list ofDataFrames
, i.e. themcols
of the respectivepranges
. Something likelapply(pranges(x), mcols)
. Not sure if this is really useful at this stage.ametadata
is the same asacols
.Internal and utils
plotRanges
htcat
replaceAcols
andreplacePranges
addacol
andaddpcol