Git Product home page Git Product logo

msap's People

Contributors

anpefi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

heziqing saeeshm

msap's Issues

Recomend the usage of sink() to deal with the outputs

This is a suggestion by Juan Cesar Vilardi.

Una sería que en el manual del paquete se recomendara el uso de la
función sink() (de manera similar a lo que indico más abajo)

sink("msap.txt")
msap("ejemplo.csv",name="ejemplo", do.pairwisePhiST=TRUE)
sink()

Esto es importante cuando se trabaja con Rstudio, dado que en el
.Rhistory con se incluyen las salidas.

Allow user-defined threshold for occurrences to define a MSL or NML as polymorphic

Currently, there are a hard threshold of at least two occurrences of each state to define a MSL or NML as polymorphic. This was settled following Herrera & Bazaga 2010, but some users (Massimiliano Lauria the most recent) suggested that they want consider another thresholds. So it would be desirable to allow the users to decide this threshold, independently for each type of marker.

Allow for different methilation patterns for different combinations on enzymes

From a mail from He Zinqing:

The origin MSAP protocol uses isoesquizomeric endonucleases HpaII and MspI, but I use Tfi I/Pfe I in our study according to the paper Stable Epigenetic Variants Selected from an Induced Hypomethylated Fragaria vesca Population (Jihua Xu et al. 2016, in the attachment). So in our study, Tfi I/Pfe patterns are: (1/1: unmethylation; 1/0: hemimethylation; 0/0: methylation; 0/1: missing data). It is different from HPA/MSP patterns, so we can’t use R package msap.

This a thing to study and it would be a great addition

Simplify the output of PhiST

This is a suggestion by Juan Cesar Vilardi

La otra sugerencia sería que la sección de los phist de a pares se
simplificara de manera que se pudiera exportar más fácilmente a una
planilla de cálculo (haciendo corte y pega)

Pair Phi_ST P

A1-A120 0.1859 0.002
A1-A24 0.1169 0.0015

Mantel test fails if do.cluster=FALSE

Reported originally by Jimena Cascales:
Error in inherits(m2, "dist") : object 'DM.NML' not found

This happens when do.cluster=F and do.mantel=F because DM.NML is wrongly assigned inside the cluster routine.

Deal with missing data in the input files

Currently, msap is assuming that dataset has not any missing value. But if there are missing data for a band but not for the other in the Hpa/Msp pair, the combined would assume that the missing value is 0 (no. band) without any warning.

Error in nj(DM_copy) : missing values are not allowed in the distance matrix Consider using njs()

This is the issue #6262 in the R-Forge support tracker

Original comment in R-Forge:

Anonymous message posted by [email protected]

I had been running msap successfully with my dataset. I then reduced the number of loci in the dataset (after some data clean up) and now I am getting the following error:

Error in nj(DM_copy) :
missing values are not allowed in the distance matrix
Consider using njs()

I edited the source code to use njs() but I'm now left with an error that causes my PCoA plotting to fail:

Error in cmdscale(DM, k = length(inds) - 1, eig = T) :
NA values not allowed in 'd'

I am assuming that there are values in my distance matrix that don't exist possibly due to the reduction in the size of my data set? Do you have some advice that might help me remedy this problem? I've attached the data file I am running.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.