Nearest Genes Function#170
Closed
nleroy917 wants to merge 12 commits into
Closed
Conversation
#133 add dinucleotide frequency calculation
update vignettes, typo
nicer dinuc. plots and avoid build error in Bioconductor
fix build error on Windows (Bioconductor issue only)
one more bioconductor windows build fix
remove all bpProportion=T examples to avoid build error
update documentation
mm10 specificity plots
Contributor
|
The function gives error. There is definitely a typo - check "annotation" and "annotations". Please test that the function works before you give it to check. Also, I don't think it would work with GRangesList at this point (check how all the other functions include code for GRangesList objects). |
Member
|
Did you confirm that this works with GRangesList objects? |
Member
|
I see now this was closed in favor of #172 It's good to put a note here for future reference. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Given a query and set of annotations, this function will calculate
the nearest annotation to each region in the region set, as well
as the nearest gene type and the distance to the nearest gene.
This is updated from the previous version which wasn't functioning
properly!
The only issue I am having is that the function requires that the
annotation file has the name of the gene defined as
gene_idand the type of gene as
gene_biotype. It would be nice tointroduce a keyword parameter that defaults to these two,
but can be changed to extract out this information should an
annotation file be given with different schema or naming convention.
However, I am having a hard time attempting to dynamically access these attributes. For example:
versus