HyPhy message board
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
Methodology Questions >> How to >> Index of first position in DataSet
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1329343517

Message started by NP on Feb 15th, 2012 at 2:05pm

Title: Index of first position in DataSet
Post by NP on Feb 15th, 2012 at 2:05pm
This is an easy question but I would like to be sure I am doing things as intended.

I know that in order to consider only part of a dataset I should use DataSetFilter:

Code (]DataSetFilter myFilter = CreateFilter (myData,1,"", "", "" );[/code):
This will take into consideration all the positions in the alignment. However it is possible that I may only want to run the analysis for the first column in my DataSet (a multiple sequence alignment). If for example I only want to consider the first position in the alignment, I should use:
[code]DataSetFilter myFilter = CreateFilter (myData,1,"1", "", "" );


Regarding the former, here is my question: Which number correspond to the first position in a DataSet? Is it 0 (zero) or 1 (one)?

HyPhy message board » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2024. All Rights Reserved.